From 8a3f6866d05db64f00e1bb0441344c3201320fb6 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 3 Jan 2011 20:11:52 -0500 Subject: [PATCH] Fix generation of mobile thumbnails when not using vfs-direct. Also, add a config switch for tinySrc.mobi support. Mostly to ease testing while using locahost ;) --- ansel/config/conf.xml | 6 ++++++ ansel/img/thumb.php | 8 ++++++-- ansel/lib/Ansel.php | 6 ++++++ ansel/lib/Gallery.php | 7 ++++--- ansel/templates/mobile/javascript_defs.php | 1 - 5 files changed, 22 insertions(+), 6 deletions(-) diff --git a/ansel/config/conf.xml b/ansel/config/conf.xml index 985fc2539..1b78488e7 100644 --- a/ansel/config/conf.xml +++ b/ansel/config/conf.xml @@ -94,6 +94,12 @@ if available when generating mini or square thumbnails? This gives a better change that the crop will contain an interesting part of the image, but will increase CPU usage during image generation."> + false 5