From: Michael J. Rubinsky Date: Sat, 1 Jan 2011 20:37:57 +0000 (-0500) Subject: fix getting style definition X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bef0736f22ab2846c3fca8f1cba82d09ef2be5d4;p=horde.git fix getting style definition --- 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();