Active
Project:
Gallerix
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 17:53 UTC
Updated:
1 Sep 2011 at 01:25 UTC
So, the images are saved under:
.../file/gallerix/album/<uid>/<nid>/image.extension
The problem with that technique is that when a user edits the Album and changes the Author field to a different user, it breaks the path which now points to the new author folder and thus does not include the pictures previously loaded in the album.
It seems that the uid should not be included in the path.
Comments
Comment #1
AlexisWilke commentedActually, if we want to use per user quotas, then we need to save files in user folders and not even in a common Gallerix folder.
#293342: Gallerix able to use IMCE user directories
Not only that, this means each image needs to have a full path because otherwise we just won't be able to find it again.
Also, what about the thumbnails? Should their size count in the user's quota?
See also the problem reported in the following issue as getting the filename of each image will need to be accessible by other modules:
#937094: thumbnails or thumbnail in path?