Closed (duplicate)
Project:
Image
Version:
5.x-1.x-dev
Component:
image.module
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 Jul 2006 at 21:36 UTC
Updated:
7 Mar 2008 at 13:21 UTC
I made a few minor changes to the 4.7 release to create a subdirectory in the images directory for each user ID for the images they create. This will create something like:
files/images/1/
files/images/2/
etc
It should continue to work with existing images already out there.
I made the change to prevent filename clash from occuring in the image directory and an images directory from getting a really large number of files in it.
It has not been heavily tested. Any thoughts?
| Comment | File | Size | Author |
|---|---|---|---|
| image_5.module | 19.53 KB | jw867 |
Comments
Comment #1
yvelle commentedI think this is a good idea, but I wonder if it shouldn't be implimented through a separate module. I'd like to see more features for these kindof options. For instance, I use the Disknode module to store files in per-user directories and I would like to be able to override the Image module to do something similar. This way files can have a nice organized structure on the server, but also be manipulated, organized, and accessed in discrete ways through Drupal. :-)
Comment #2
rkn-dupe commentedIs anyone else interested in this? I think a feature which allowed you to create and choose folders to upload images to when uploading images would be very useful. Making the files easier to find on the server etc.
Comment #3
drewish commentedthis issue has a patch that we're working to add this feature: http://drupal.org/node/103793
Comment #4
Hetta commentedMarked the ancient http://drupal.org/node/34009 as a duplicate. That one was for version HEAD, from 2005 - not knowing the version means its patch won't work.
Comment #5
doc2@drupalfr.org commentedYes... this feature request is duplicate but still remains under 5.x-dev version.
I just mean that there are hopes here to see this feature commited to a 5.x version! Many thanks already (cf. node/103793 from comment #3)!