'thumbstyle' => 'PrettyThumb',
'requires_png' => true,
// This really only looks good with ImageMagick, not GD.
- 'default_galleryimage_type' => 'roundedstack',
+ 'default_galleryimage_type' => 'RoundedStack',
'background' => 'none',
'widgets' => $widgets,
);
$styles['ansel_blackonwhite'] = array(
'name' => 'ansel_blackonwhite',
'title' => _("Pretty Thumbnails (White Background)"),
- 'default_galleryimage_type' => 'roundedstack',
+ 'default_galleryimage_type' => 'RoundedStack',
'thumbstyle' => 'PrettyThumb',
'background' => 'white',
'widgets' => $widgets,
'title' => _("Shadowed Thumbnails (White Background)"),
'thumbstyle' => 'ShadowSharpThumb',
'background' => 'white',
- 'default_galleryimage_type' => 'plainstack',
+ 'default_galleryimage_type' => 'PlainStack',
'widgets' => $widgets
);
'title' => _("Polaroid Style Thumbnails (White Background)"),
'thumbstyle' => 'PolaroidThumb',
'background' => 'white',
- 'default_galleryimage_type' => 'polaroidstack',
+ 'default_galleryimage_type' => 'PolaroidStack',
'widgets' => $widgets,
);
'thumbstyle' => 'PolaroidThumb',
'background' => 'none',
'requires_png' => true,
- 'default_galleryimage_type' => 'polaroidstack',
+ 'default_galleryimage_type' => 'PolaroidStack',
'gallery_view' => 'GalleryLightbox',
'widgets' => $widgets,
);
'thumbstyle' => 'PolaroidThumb',
'background' => 'none',
'requires_png' => true,
- 'default_galleryimage_type' => 'polaroidstack',
+ 'default_galleryimage_type' => 'PolaroidStack',
'gallery_view' => 'GalleryLightbox',
'hide' => true,
'fallback' => 'ansel_simple'
$img->load('screen');
$images[] = $img->getHordeImage();
$cnt--;
- } catch (Horde_Exception $e) {}
+ } catch (Exception $e) {
+ Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_ERR);
+ }
}
for ($i = 0; $i < $cnt; $i++) {
$aimg = array_shift($temp);
$aimg->load('screen');
$images[] = $aimg->getHordeImage();
- } catch (Horde_Exception $e) {}
+ } catch (Exception $e) {
+ Horde::logMessage($e->getMessage(), __FILE__, __LINE__, PEAR_LOG_ERR);
+ }
}
// Reverse the array to ensure the requested default image