X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gal2%2FFORMAT;h=67118ec38e88f0bd81e8cf38e874b366f65bcc24;hb=2a26a73a91a5debcd879f59ae578d3a637bb82ed;hp=b7a67fd0526e79bf840ffb0a68a51a3e645ac311;hpb=bfa0d113c413c2431f72405623d79cbc7b0b40f2;p=gallery.git diff --git a/gal2/FORMAT b/gal2/FORMAT index b7a67fd..67118ec 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,12 @@ $meta->{photo}->{$identifier} is a hash of: xf transformation applied w width after scaling h height after scaling + title photo title + +The rest is present in cache.meta only: + +$meta->{sequence} is an array of photo IDs as they appear in the gallery. + +$meta->{thumb}->{$format}->{$identifier} is a hash of: + w thumbnail width + h thumbnail height