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 ForumsGalleryGalleryImages strored 3 times????Images strored 3 times????
Previous
 
Next
New Post
12/28/2005 10:36 AM
 
Why are the images stored under the portal in 3 different places??? This will be a huge penalty as larger and more images are added. What's the reasoning behind this?
 
New Post
12/29/2005 4:21 AM
 

Relative to your POrtalId directory, where are these images stored?

 


Chris Paterra

Get direct answers to your questions in the Community Exchange.
 
New Post
12/29/2005 10:27 AM
 

tclaffy

The reason to store image in 3 different sizes is

1._thumbs folder: is for displaying in default view ( images in this folder was resized when you upload or doing maintenance), this will be loaded quickly in the browser since each image just 2-3 KB (100x100 is the best size in my experience)
2. normal: (in gallery\your-module_folder) when your visitor wants to view image in browser size it would be displayed full screen (normally 600-800px, and the size around 50-60 KB)
3. _sources folder: when you allows visitor to download the image with original size.

you could choose to keep source (image to be stored in _source folder in original size) or not. If your gallery is for displaying only (don't need to keep the original image, this folder will be empty)

Tam

 

 
New Post
1/13/2006 3:29 PM
 

Another consideration, and performance benfit associated with storing the multiple, scaled versions of the images, is that the scaling is only done once. I have done my own image module, but did not have the time to devote to sophisticated file management functions: instead the image.aspx file handles the scaling. Although each image file is cached in memory once it is read, this method would break sites with more traffic. Additionally, reading images from the file system locks them, and if a user wants to delete the image, it may be locked if it has just been read by asp.net.

my 2cents

 
New Post
2/3/2006 1:51 PM
 
tamttt wrote

tclaffy

The reason to store image in 3 different sizes is

1._thumbs folder: is for displaying in default view ( images in this folder was resized when you upload or doing maintenance), this will be loaded quickly in the browser since each image just 2-3 KB (100x100 is the best size in my experience)
2. normal: (in gallery\your-module_folder) when your visitor wants to view image in browser size it would be displayed full screen (normally 600-800px, and the size around 50-60 KB)
3. _sources folder: when you allows visitor to download the image with original size.

you could choose to keep source (image to be stored in _source folder in original size) or not. If your gallery is for displaying only (don't need to keep the original image, this folder will be empty)

Tam

 

But there is no option to "choose" whether to keep source.  The module setting "IsKeepSource" is not visible / settable in the configuration screen and is hard coded to be "True", that is, keep the source. Please re-instate the "Keep Source" option in the configuration screen so that we can choose whether or not to store 3 copies. If admin chooses NOT to keep source, then only 2 copies: thumbnail and resized would be kept and the largest file would be deleted after upload.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryImages strored 3 times????Images strored 3 times????


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