1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <?php
- // $ID: $
- /**
- * @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',
- ),
- ),
- ),
- );
|