Start cleaning up the "prettythumb" vs "thumb" stuff in Ansel.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 30 Dec 2010 17:23:34 +0000 (12:23 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 30 Dec 2010 19:40:57 +0000 (14:40 -0500)
commit594a5cdffcdc9e6fae79938f97a8d7cc4c5fd265
tree9f95dbc9842c601b40112cdfc8cc7be3766fcb1b
parentebbfa4e761a38252e2a5d00826f2a5abeb8e78df
Start cleaning up the "prettythumb" vs "thumb" stuff in Ansel.

Now that styles have been refactored, we no longer need to differentiate
between a thumb and prettythumb thumbnail type, the style information
does that for us.

Simplifies the calls to all methods needing an image type as well as
allows us to get rid of the extra prettythumb.php image generation script.

Now, supported image types are "full", "screen", "thumb", and "mini". The style
object specifies what image generator to use, if supported.
12 files changed:
ansel/img/prettythumb.php [deleted file]
ansel/img/thumb.php
ansel/lib/Ansel.php
ansel/lib/Block/random_photo.php
ansel/lib/Gallery.php
ansel/lib/Image.php
ansel/lib/Tile/DateGallery.php
ansel/lib/Tile/Gallery.php
ansel/lib/Tile/Image.php
ansel/lib/View/EmbeddedRenderer/Mini.php
ansel/lib/View/GalleryProperties.php
ansel/preview.php