[cvs] commit: ansel list.php ansel/gallery sort.php ansel/img prettythumb.php ansel/lib Ansel.php base.php ansel/lib/Block gallery.php random_gallery.php random_photo.php ansel/lib/Tile Gallery.php Image.php ansel/templates/captions captions.inc ...
Michael Rubinsky
mike at theupstairsroom.com
Wed Nov 7 05:33:47 UTC 2007
mrubinsk 2007-11-07 00:33:47 EST
Modified files:
. list.php
gallery sort.php
img prettythumb.php
lib Ansel.php base.php
lib/Block gallery.php random_gallery.php
random_photo.php
lib/Tile Gallery.php Image.php
templates/captions captions.inc
templates/gallery gallery.inc
templates/list header.inc
templates/tile gallery.inc
Log:
Fairly invasive changes. Attempts to add intellegence to gallery theme selection. Top level gallery display honors the user's default gallery style pref if server/browser capabilities allow...otherwise degrade gracefully to a less demanding style. Similarly, sub-gallery tiles honor the style of the parent gallery, not the style of the actual gallery. Prettythumbs are now stored in a vfs path keyed by a hash of the various style settings (right now, thumbstyle and background) - this also opens the door to supporting different styles of prettythumbs.
Still needs some tweaking, and some of the code still needs to be optimized, but I wanted to commit it in a working state. Also, still need to add more gallery style options, the blackonwhite was basically a quick solution to aid in testing.
Revision Changes Path
1.9 +7 -6 ansel/gallery/sort.php
1.3 +3 -2 ansel/img/prettythumb.php
1.233 +222 -94 ansel/lib/Ansel.php
1.15 +4 -5 ansel/lib/Block/gallery.php
1.18 +2 -5 ansel/lib/Block/random_gallery.php
1.23 +3 -6 ansel/lib/Block/random_photo.php
1.12 +6 -3 ansel/lib/Tile/Gallery.php
1.12 +3 -3 ansel/lib/Tile/Image.php
1.32 +9 -4 ansel/lib/base.php
1.76 +7 -2 ansel/list.php
1.19 +5 -4 ansel/templates/captions/captions.inc
1.31 +1 -3 ansel/templates/gallery/gallery.inc
1.24 +1 -1 ansel/templates/list/header.inc
1.11 +1 -1 ansel/templates/tile/gallery.inc
Chora Links:
http://cvs.horde.org/diff.php/ansel/gallery/sort.php?r1=1.8&r2=1.9&ty=u
http://cvs.horde.org/diff.php/ansel/img/prettythumb.php?r1=1.2&r2=1.3&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Ansel.php?r1=1.232&r2=1.233&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Block/gallery.php?r1=1.14&r2=1.15&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Block/random_gallery.php?r1=1.17&r2=1.18&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Block/random_photo.php?r1=1.22&r2=1.23&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Tile/Gallery.php?r1=1.11&r2=1.12&ty=u
http://cvs.horde.org/diff.php/ansel/lib/Tile/Image.php?r1=1.11&r2=1.12&ty=u
http://cvs.horde.org/diff.php/ansel/lib/base.php?r1=1.31&r2=1.32&ty=u
http://cvs.horde.org/diff.php/ansel/list.php?r1=1.75&r2=1.76&ty=u
http://cvs.horde.org/diff.php/ansel/templates/captions/captions.inc?r1=1.18&r2=1.19&ty=u
http://cvs.horde.org/diff.php/ansel/templates/gallery/gallery.inc?r1=1.30&r2=1.31&ty=u
http://cvs.horde.org/diff.php/ansel/templates/list/header.inc?r1=1.23&r2=1.24&ty=u
http://cvs.horde.org/diff.php/ansel/templates/tile/gallery.inc?r1=1.10&r2=1.11&ty=u
More information about the cvs
mailing list