You are here

function rich_snippets_image_default_styles in Rich Snippets 7

Implements hook_image_default_styles().

File

./rich_snippets.module, line 29
Overrides the standard search results templates and CSS to display results similar to major search engines.

Code

function rich_snippets_image_default_styles() {
  $styles = array();
  $styles[RICH_SNIPPETS_STYLE_NAME] = array(
    'effects' => array(
      array(
        'name' => 'image_scale',
        'data' => array(
          'width' => 50,
          'height' => 50,
          'upscale' => 1,
        ),
      ),
    ),
  );
  return $styles;
}