Hi ,
I have a requirement, I have installed the image module to upload images however here is the issue,
I have user generated image which I want to store in Location X
I have admin generated images which I want to store on Location Y

How can I do this, Please help

Thanks

Comments

halftone’s picture

You won't be able to do that without a major rewrite of the module, which only uses a single storage location.

If you are simply trying to separate the images in order to restrict access according to the user's role, assign images to different taxonomy terms (EG 'admin' and 'user') and use taxonomy access permissions.

If you want more heavy-duty image and permission management, I'd suggest using Menalto Gallery 2 http://gallery.menalto.com/ which integrates with Drupal (including user registration and roles) via the Gallery module. Gallery2 also allows filesystem hierarchical storage of images in the way you request. You can allow each new user to create their own personal gallery.

drupal_841’s picture

Hey Halftone,
Thanks mate!, However the admin generated images I want them to go under \public_html\sites\all\themes\xyz\images(related to website and themeing)

and I want user generated to be under files/images (All that stuff) is there any module that can make this possible.
Thanks
R

sun’s picture

Category: task » support
Status: Active » Closed (won't fix)

Sorry, unfortunately this request is way too specific. Please have a look at the issue queue - Image maintainers are buried already. You might want to try to get further support at http://drupal.org/support. Additionally, the answer to your question might be covered in the handbooks at http://drupal.org/handbook/modules/image already.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.