How does Gallery locate an image in on disc?
richardb
Joined: 2006-01-26
Posts: 33 |
Posted: Sat, 2010-10-16 09:51 |
I have several installations of Gallery2 - this is the largest: http://www.eggsa.org/library/main.php but this is not a problem but a request for information. If someone could tell me or point to this information I would be grateful. How does Gallery2 make up (find out) the path to its various items? I have looked through all the database tables. I can find the item and I can find, in fileSystemEntity, the disk name of the file but I cannot see how Gallery records or makes up the path to the file name. So if an item is stored in G2-albums/picture-files/books/thisbook.jpg how does it locate it with only the filename thisbook.jpg in the database? I must be missing something? I have no experience programming for Gallery but have several times had to repair the database 'by hand' so am somewhat familiar with parts of that. Thanks for any help you can offer. Richard |
|
Posts: 33
Never mind, thanks, I have now worked it out.
Uses ChildEntity table with FileSystemEntity table to create the path.
Thanks,
Richard
Posts: 8339
-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2
Posts: 33
Thanks for the functions, suprsidr.
Richard