You are here

function fancybox_insert_styles in fancyBox 7.2

Same name and namespace in other branches
  1. 6 fancybox.module \fancybox_insert_styles()

Implements hook_insert_styles().

File

./fancybox.module, line 409
Provides the fancyBox jQuery plugin, a tool that offers a nice and elegant way to add zooming functionality for images, html content and multi-media on your webpages, and an extensive settings page for configuring fancyBox settings and how fancyBox…

Code

function fancybox_insert_styles() {
  $insert_styles = array();
  foreach (image_styles() as $key => $style) {
    $insert_styles['fancybox__' . $key] = array(
      'label' => $style['name'] . ' (fancyBox)',
    );
  }
  return $insert_styles;
}