You are here

keyword_positioning.imagecache_preset.inc in ImageCache Actions 8

File

canvasactions/tests/keyword_positioning.imagecache_preset.inc
View source
<?php

/**
 * @file
 *   Test imagecache preset.
 * 
 * Created on Dec 29, 2009
 *
 * @author 'dman' Dan Morrison http://coders.co.nz/
 */
$presets['keyword_positioning'] = array(
  'name' => 'keyword_positioning',
  '#weight' => 4.2,
  'effects' => array(
    array(
      'weight' => '-1',
      'module' => 'imagecache_canvasactions',
      'name' => 'canvasactions_file2canvas',
      'data' => array(
        'xpos' => 'right',
        'ypos' => 'top',
        'alpha' => '100',
        'path' => drupal_get_path('module', 'imagecache_testsuite') . "/grid-240x160.png",
      ),
    ),
    array(
      'weight' => '0',
      'module' => 'imagecache_canvasactions',
      'name' => 'canvasactions_file2canvas',
      'data' => array(
        'xpos' => '25%',
        'ypos' => 'bottom-10%',
        'path' => 'misc/druplicon.png',
      ),
    ),
    array(
      'weight' => '0',
      'module' => 'imagecache_canvasactions',
      'name' => 'canvasactions_file2canvas',
      'data' => array(
        'xpos' => '0%',
        'ypos' => 'top+10%',
        'path' => 'misc/druplicon.png',
      ),
    ),
    array(
      'weight' => '0',
      'module' => 'imagecache_canvasactions',
      'name' => 'canvasactions_file2canvas',
      'data' => array(
        'xpos' => 'right+50',
        'ypos' => '50%',
        'path' => 'misc/druplicon.png',
      ),
    ),
  ),
);