I am currently using the filefield_paths module, I have set a custom path for user files to the location:

/files/user_files/users/[author]/[type]/[yyyy]/[mm]-[dd]/[title]

so an uploaded image translates into:

/files/user_files/users/admin/blog_entry/2009/07-30/Test page/image.jpg

but using image resize filter, and resizing an image the new image goes to:

/files/resize/user_files/users/admin/blog_entry/2009/07-30/Test page/image.jpg

because of this the user doesnt have any control of the resized images created from the resize filter. I would like the image to go into a subfolder just above where the image would go. so instead of placing the path rules after /resize/ it would place them before, so the end result path shouls look like this:

/files/user_files/users/admin/blog_entry/2009/07-30/Test page/resize/image.jpg

Also in doing this the files on my system would be more systematic and easier to manage. Im not sure if you would just add code to change the path if the filefield_paths module exists or add a gui to have the user set it up. Either way is fine for me. Thanks in advance for any help.

Comments

quicksketch’s picture

This is not currently possible with Image Resize Filter. While this may be easier for your site to manage, it's more difficult from the module-perspective of managing the files. Image Resize Filter is not intended to have users ever modify the contents of the "resize" directory, since if an image is deleted/modified from that directory, it is only recreated when the parent node is edited again.

So basically, I don't think this behavior will change.

quicksketch’s picture

Status: Active » Closed (won't fix)