You are here

function animgif_support_effect_replaces in Animated gif support for image styles 7

Provides original effect - replace effect array.

1 call to animgif_support_effect_replaces()
animgif_support_image_effect_info_alter in ./animgif_support.module
Implements hook_image_effect_info_alter().

File

./animgif_support.module, line 81
Provides animated gif resizing support for the image styles.

Code

function animgif_support_effect_replaces() {
  $replace = array(
    'image_crop' => 'image_resize',
    'image_resize' => 'image_resize',
    'image_scale' => 'image_scale',
    'image_scale_and_crop' => 'image_scale',
  );

  // Allow other modules to change the style associations.
  drupal_alter('animgif_support_effect_replaces', $replace);
  return $replace;
}