in function _gallerix_album_paths(&$node, $local = FALSE), should the path the $paths['thumbnail'] be $base_path . '/thumbnails' or $base_path . '/thumbnail'. Note that it does not seem to cause any problem in its operation but I found the path is not valid when I try to call the function directly. Also, it does not get paths for user defined size.
Tak
Comments
Comment #1
AlexisWilke commentedArgh! Yes... We need to call the file_save_upload() function to make sure that the file goes in the User folder and not some random Gallerix folder. Plus that way you'd have the files properly attached to each user which I think is important.
However, Gallerix has a "secure" feature and I'm not sure that the file_save_upload() would work with it... Hmmm...
Otherwise, I don't understand your $base_path idea. The $local flag determines whether $base_path is used or not. Isn't that enough?
Thank you.
Alexis Wilke
Comment #2
AlexisWilke commentedSee also this bug:
#942792: The files are saved in a folder that includes the user identifier...
The exact path to a filename needs to be saved in the corresponding image because multiple users could participate and if we save a file in different user folders, the current functions fail miserably.
This looks like a pretty heavy redesigned though.
Thank you.
Alexis Wilke