You are here

function tft_image_default_styles in Taxonomy File Tree 7.2

Implements hook_image_default_styles().

Related topics

File

./tft.module, line 246
Hook implementations and module logic for TFT.

Code

function tft_image_default_styles() {
  $styles = array();
  $styles['tft_thumb'] = array(
    'label' => 'TFT Image Preview',
    'effects' => array(
      array(
        'name' => 'image_scale_and_crop',
        'data' => array(
          'width' => 30,
          'height' => 20,
        ),
        'weight' => 0,
      ),
    ),
  );
  return $styles;
}