Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorytemplates: ability to download imagestemplates: ability to download images
Previous
 
Next
New Post
1/4/2008 4:00 PM
 

Our goal is to have two repository instances on the same page, one for images and one for "other" files.

The filelist template is perfect for this second instance.

For the first instance, the filelist template would be fine if we could display a thumbnail based on the "file" rather than the "image"

An alternative is the portfolio template, which uploads images and displays the thumbnail, but unfortuanely does not include the ability to download the image.

Any recommendations?  (btw - love your work)

 
New Post
1/5/2008 3:34 AM
 

What do you mean by "thumbnail based on the file rather on the image" ??
Currently, the small icon is displayed differently if it is a PDF file, or word, or image, etc....

DV

 
New Post
1/5/2008 1:20 PM
 
A repository upload entry consists of either:
1) file (see filelist template)
2) an image file (see portfolio template)
3)a file and an image file (see default template)
The thumbnail is only generated by the uploading of a image file.

We want to:
1) upload and image file (like portfolio template)
2) display its thumbnail (like portfolio template and default template)
3) download the image file (no templates support this)
 
New Post
1/5/2008 7:55 PM
 

easiest way ..

add a [FILE] token to the form.html file
add a [DOWNLOAD] token to the template.html file

When you upload an item, upload the same image file in both the FILE and IMAGE upload fields, that way the user will see the thumbnail and clicking on the download link will download the image

 
New Post
1/6/2008 12:28 PM
 

Thanks for the response, Steve

This is the solution I came up with as well.

We were hoping there was some way to implement the upload so that the user would only have to browse for the file once rather than twice (once for the FILE token and once for the IMAGE token).

Can you think of any way for one UI input to result in two file saves (FILE and IMAGE)?

Phil

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositorytemplates: ability to download imagestemplates: ability to download images


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out