You are here

function simplecrop_image_default_styles in SimpleCrop 7

Implements hook_image_default_styles().

File

./simplecrop.module, line 61
Contains main hook definitions for SimpleCrop module.

Code

function simplecrop_image_default_styles() {
  $styles['simplecrop'] = array(
    'label' => 'SimpleCrop (100x100)',
    'effects' => array(
      array(
        'name' => 'simplecrop',
        'weight' => 0,
      ),
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 100,
          'height' => 100,
          'upscale' => 1,
        ),
        'weight' => 1,
      ),
    ),
  );
  return $styles;
}