From bef0736f22ab2846c3fca8f1cba82d09ef2be5d4 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Sat, 1 Jan 2011 15:37:57 -0500 Subject: [PATCH] fix getting style definition --- ansel/lib/Gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansel/lib/Gallery.php b/ansel/lib/Gallery.php index af1118e2d..622758c4d 100644 --- a/ansel/lib/Gallery.php +++ b/ansel/lib/Gallery.php @@ -997,7 +997,7 @@ class Ansel_Gallery extends Horde_Share_Object_Sql_Hierarchical implements Seria $json->dc = $this->get('date_created'); $json->dm = $this->get('date_modified'); $json->d = $this->get('desc'); - $json->ki = Ansel::getImageUrl($this->getKeyImage(), 'mini', false, 'ansel_default')->toString(); + $json->ki = Ansel::getImageUrl($this->getKeyImage(), 'mini', false, Ansel::getStyleDefinition('ansel_default'))->toString(); if ($full) { $json->sg = array(); -- 2.11.0