Closed (fixed)
Project:
CCK Gallery
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2009 at 00:25 UTC
Updated:
8 Feb 2010 at 17:44 UTC
I was thinking that it would be handy to use the directories already set up for IMCE to store each users images in. This could be done if there was a way to set the default directory cc gallery would store in. I guess it would also have to use the same wildcard like IMCE does EX: files/images/users/u%uid.
Comments
Comment #1
greg.harveyNice idea. You could have a "Use IMCE to manage user directories" checkbox that only appears if IMCE is enabled and calls IMCE's functions for directory checking. Wish listing this. Thanks! =)
Comment #2
wxman commentedI've been working around it by setting the "Path settings" in the image field setup. It uses tokens, so I have the path set to userdir/u[uid], which is the same as the one used in IMCE for my site. So far in tests, it does the job.
Comment #3
greg.harveyPerhaps a documentation task rather than a coding task then?
Comment #4
wxman commentedThat might not be a bad idea. the way I'm doing it does seem to work. it's not on a live site with a lot of users, but I don't see where that would make much difference.
The only trouble I've been having was getting it all to look the way I want for the users. I think I have it now. We'll see after it goes live if it works.
Comment #5
greg.harveyOk, ImageField does this out of the box, so there's nothing to do here.