I'm not sure if this has been addressed in v2. I noticed that under Gallery 1.3, that the thumbnail and re-sized image files are located in the same directory as the source images. It would be very helpful to reduce clutter in the album directories if the thumnail images and re-sized images were stored in their own respective (sub)directories using the same name as the source image files. The thumbnail and re-sized image directories could be sub-directories of the source image directory or they could be located in a separate root tree. Offering this would provide enhanced security for preventing access to source images that are not supposed to be viewable without the appropriate privleges (based on the user login). Separate directories for the thumbnail and re-szied images would also make it easier to fish around manually within the album image directories using ftp, or file browsers. Organizing the thumbnail images and the re-sized images into their own sub-directories is related to my earlier posting about being able to use gallery to handle locally stored image directories.
Organizing the thumbnail images and re-sized images into their own sub-directories would offer some additional configuration options that are not currently possible with having the thumbnail and re-sized images scattered in the same directory as the source images.
Posts: 7994
G2 has a concept called "derivative images". You provide a source image, and then all
thumbnails and resizes are derived from applying instructions to the source. For example,
a thumbnail may be the source image plus the "scale 200" instruction. All derivatives are
stored in a completely separate cache with arbitrary names and can be deleted at any
time to save space. Thumbnails and resizes are no longer created when you upload an
image; they're created the first time they're needed (and we'll have a maintenance
module that'll let you expire them when you choose).
In the current G2 source, you can tell it to preserve the original no matter what. Even if
you rotate the image, it'll still keep the pristine source around so that you can undo any
changes later.
What kind of configuration options are you thinking of?