projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d6a2b5
)
Use default styled key images for this block
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 16 Sep 2010 16:25:12 +0000
(12:25 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Thu, 16 Sep 2010 16:25:12 +0000
(12:25 -0400)
ansel/lib/Widget/OtherGalleries.php
patch
|
blob
|
history
diff --git
a/ansel/lib/Widget/OtherGalleries.php
b/ansel/lib/Widget/OtherGalleries.php
index
b9ed5c1
..
9c12e4c
100644
(file)
--- a/
ansel/lib/Widget/OtherGalleries.php
+++ b/
ansel/lib/Widget/OtherGalleries.php
@@
-89,7
+89,7
@@
class Ansel_Widget_OtherGalleries extends Ansel_Widget_Base
$parent = array_pop($parents);
}
- $img = (string)Ansel::getImageUrl($gallery->getKeyImage(), 'mini', true);
+ $img = (string)Ansel::getImageUrl($gallery->getKeyImage(
Ansel::getStyleDefinition('ansel_default')
), 'mini', true);
$link = Ansel::getUrlFor('view', array('gallery' => $gallery->id,
'slug' => $gallery->get('slug'),
'view' => 'Gallery'),