]> mj.ucw.cz Git - gallery.git/blobdiff - gal2/FORMAT
Gallery2: Use FindBin to find libraries
[gallery.git] / gal2 / FORMAT
index b7a67fd0526e79bf840ffb0a68a51a3e645ac311..2f4a1ba5da7a169eda9d309b4e7a58cc5de58433 100644 (file)
@@ -14,8 +14,8 @@ One photo per line, tab-separated columns:
 Lines starting with "#" are ignored.
 
 
-Photo meta-data (gallery.meta in PhotoDir)
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+Photo meta-data (PhotoDir/gallery.meta or CacheDir/cache.meta)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Perl Storable containing a single hash.
 
 $meta->{photo}->{$identifier} is a hash of:
@@ -23,3 +23,11 @@ $meta->{photo}->{$identifier} is a hash of:
        xf              transformation applied
        w               width after scaling
        h               height after scaling
+       title           photo title
+
+$meta->{sequence} is an array of photo IDs as they appear in the gallery.
+
+[CacheDir only]
+$meta->{thumb}->{$format}->{$identifier} is a hash of:
+       w               thumbnail width
+       h               thumbnail height