function bootstrap_gallery_image_styles in Bootstrap - Photo Gallery 7.3
Return currently available Image Styles
1 call to bootstrap_gallery_image_styles()
File
- ./
bootstrap_gallery.module, line 41
Code
function bootstrap_gallery_image_styles() {
$image_styles = image_styles();
$bootstrap_gallery_image_styles = array(
'original' => t('Original Image'),
);
foreach ($image_styles as $machine_name => $image_style) {
$bootstrap_gallery_image_styles[$machine_name] = $image_style['label'];
}
return $bootstrap_gallery_image_styles;
}