X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=gal2%2FFORMAT;h=2f4a1ba5da7a169eda9d309b4e7a58cc5de58433;hb=a6d0d32eec237d41a55b9e54b88969d156c3458f;hp=b7a67fd0526e79bf840ffb0a68a51a3e645ac311;hpb=bfa0d113c413c2431f72405623d79cbc7b0b40f2;p=gallery.git diff --git a/gal2/FORMAT b/gal2/FORMAT index b7a67fd..2f4a1ba 100644 --- a/gal2/FORMAT +++ b/gal2/FORMAT @@ -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