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

greg.harvey’s picture

Nice 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! =)

wxman’s picture

I'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.

greg.harvey’s picture

Component: User interface » Documentation

Perhaps a documentation task rather than a coding task then?

wxman’s picture

That 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.

greg.harvey’s picture

Status: Active » Closed (fixed)

Ok, ImageField does this out of the box, so there's nothing to do here.