function andromeda_slideshow_get_image_styles in Andromeda Slideshow 7
Same name and namespace in other branches
- 7.2 includes/andromeda_slideshow.inc \andromeda_slideshow_get_image_styles()
 
Returns a list of image styles available
1 call to andromeda_slideshow_get_image_styles()
- andromeda_slideshow_form in includes/
andromeda_slideshow.forms.inc  - Add and edit slideshow form
 
File
- includes/
andromeda_slideshow.inc, line 11  - Helper functions for Andromeda Slideshow
 
Code
function andromeda_slideshow_get_image_styles() {
  //prepare a #options ready list of image styles
  $image_styles = array();
  foreach (image_styles() as $key => $style) {
    $image_styles[$key] = $style['name'];
  }
  //remove the default image style andromeda_slideshow_thumbnail from the list
  unset($image_styles['andromeda_slideshow_thumb']);
  return $image_styles;
}