Ok, I give up...

I REALLY want to change the default dumping path of the files from /sites/files/images to /sites/files/[user-name]/images, and there are no path modules that seem to work.
I'll edit the code myself if I have to but where is this path declared?

Currently I'm looking at function prog_gallery_form(&$node)
but... where is it? I've declared a global $user.

Many thanks to those who can help fix.

Comments

mikgreen’s picture

Priority: Critical » Normal
Status: Active » Closed (won't fix)

Path has nothing to do with prog_gallery.
It uses image module to save images on disk, so you should look that way for solution.

And please come back if you find a good one, because it is a common issue, that image module dumps all files in one folder.
Especially if you have lots and lots of images.