Gallery3:Modules:albumupdate - Gallery Codex
Personal tools


From Gallery Codex


Everytime a photo is added, recursively update parent albums to keep the captured time constant


The database of Gallery 3 the field Captured date is not used when creating an album. So albums can not be sorted on this field. This module fills this field when uploading or updating an image. It compares the "Captured date" of the image and compares them with those of the parent album. If the date is newer "Captured date" of the parent album is changed, otherwise not.

This allows that the same for each album so I sort method: "Captured date" 'descending'.
In this way, the most recently edited albums ever top.


This module may be downloaded from here.

To install, extract the "albumupddate" folder from the zip file into your Gallery 3 modules folder.
Afterwards log into your Gallery web site as an administrator and activate the module in the Admin -> Modules menu.