Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
mikgreen CreditAttribution: mikgreen commentedPath 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.