This is an excellent little module, but I have one (hopefully simple) request...

For image types, can we have a field on the content type (right "Attachments on comments" section) that allows for a subdirectory, inside /sites/default/files, to be specified for storing the original versions of the images? This would just be for image types, not other files, which should be stored in /sites/default/files (as they are right now by Comment Module). I like to keep all my images inside a subfolder, and the path is /sites/default/files/images. I store all the original images uploaded to the site in here (and then ImageCache does its thing and stores its versions elsewhere). This would be similar to a CCK file/image field type, where a subfolder name inside of /sites/default/files can be specified for storing the originals.

Anyway, GREAT module. Thank you for creating it!

CommentFileSizeAuthor
#2 785596-comment_path-2.patch2.58 KBkostajh

Comments

eloivaque’s picture

+ Subscribe

kostajh’s picture

Version: 6.x-1.0-alpha5 » 6.x-1.x-dev
Status: Active » Needs review
StatusFileSize
new2.58 KB

Attached patch allows users to specify a sub-directory of sites/default/files to save attachments on comments. The configuration is per content-type, so each content type can have its attachments stored in different sub-directories.

raintonr’s picture

I've just created #1309480: Integration with upload path which is related but slightly different.

v8powerage’s picture

Issue summary: View changes

Why does it only works for new uploads? I have ton of pictures in /files, how do I move them to the new folder so they still work?