Hello,
Currently all my FUplaod uploaded images are stored in the one folder on the file structure. Is it possible to store these in a logical manner such as by gallery name and imagecache template?

Thanks

Comments

martin@drupal.org.uk’s picture

This project should do everything you want
http://drupal.org/project/filefield_paths

lambono’s picture

That is perfect.

Thanks!

One question...

I would like the original files stored in
images/date/galleryname/filename.jpg etc

and the resized files stored in

images/date/galleryname/.size/filename.jpg etc

How can I do this?

I have tried using
images/[yyyy]-[mm]/[term]/[image-derivative]

this works for .preview and .thumbnail etc. But as the original file has no [image-derivative] the resulting links for the original image will have an extra slash.
eg. images/date/galleryname//filename.jpg

Is the a way to fix this?

Thanks!