From ffb44d2b37879d802797bebc8b4e8969a3a65ab9 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 1 Jan 2011 11:36:01 -0500 Subject: [PATCH] Add new config switches: Use sqare thumbnails vs older legacy mini thumbs (on by default) Use a smart crop algorithm for generating square thumbnails (off by default) --- ansel/config/conf.xml | 8 ++++++++ ansel/lib/ImageGenerator/Mini.php | 34 +++++++++++++++++++++++++++----- ansel/lib/ImageGenerator/SquareThumb.php | 2 +- 3 files changed, 38 insertions(+), 6 deletions(-) diff --git a/ansel/config/conf.xml b/ansel/config/conf.xml index 6ff172dfc..985fc2539 100644 --- a/ansel/config/conf.xml +++ b/ansel/config/conf.xml @@ -86,6 +86,14 @@ themes and generation of 'pretty' thumbnails? This can be a performance hit on some installations but is required for the generation of all but the most basic image thumbnails." required="false">false + true + 5