Difference between revisions of "Gallery3:Modules:albumupdate" - Gallery Codex
Personal tools

Difference between revisions of "Gallery3:Modules:albumupdate"

From Gallery Codex

m (Description)
m (Text replacement - "codex.gallery2.org" to "codex.galleryproject.org")
 
Line 1: Line 1:
 
{{ModuleInfo
 
{{ModuleInfo
 
|author=unknown
 
|author=unknown
|link=http://codex.gallery2.org/images/5/5c/Updatealbums.zip
+
|link=http://codex.galleryproject.org/images/5/5c/Updatealbums.zip
 
|description=codex
 
|description=codex
 
|version=1}}
 
|version=1}}
Line 16: Line 16:
  
 
== Installation ==
 
== Installation ==
This module may be downloaded from [http://codex.gallery2.org/images/5/5c/Updatealbums.zip here].
+
This module may be downloaded from [http://codex.galleryproject.org/images/5/5c/Updatealbums.zip here].
  
 
To install, extract the "albumupddate" folder from the zip file into your Gallery 3 modules folder. <br>
 
To install, extract the "albumupddate" folder from the zip file into your Gallery 3 modules folder. <br>

Latest revision as of 15:25, 1 July 2013

About

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

Description

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.

Installation

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.

Notes

advertisements