function lightbox2_image_styles in Lightbox2 7
Same name and namespace in other branches
- 8 lightbox2.module \lightbox2_image_styles()
- 7.2 lightbox2.module \lightbox2_image_styles()
Helper function for image styles.
2 calls to lightbox2_image_styles()
File
- ./
lightbox2.module, line 804 - Enables the use of lightbox2 which places images above your current page, not within. This frees you from the constraints of the layout, particularly column widths.
Code
function lightbox2_image_styles() {
$image_styles = array(
'0' => 'original',
);
$tmp = image_styles();
foreach ($tmp as $style) {
$image_styles[$style['name']] = $style['name'];
}
return $image_styles;
}