keyword_positioning.imagecache_preset.inc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?php
  2. // $ID: $
  3. /**
  4. * @file
  5. * Test imagecache preset.
  6. *
  7. * Created on Dec 29, 2009
  8. *
  9. * @author 'dman' Dan Morrison http://coders.co.nz/
  10. */
  11. $presets['keyword_positioning'] = array (
  12. 'name' => 'keyword_positioning',
  13. '#weight' => 4.2,
  14. 'effects' => array (
  15. array (
  16. 'weight' => '-1',
  17. 'module' => 'imagecache_canvasactions',
  18. 'name' => 'canvasactions_file2canvas',
  19. 'data' => array (
  20. 'xpos' => 'right',
  21. 'ypos' => 'top',
  22. 'alpha' => '100',
  23. 'path' => drupal_get_path('module', 'imagecache_testsuite') . "/grid-240x160.png",
  24. ),
  25. ),
  26. array (
  27. 'weight' => '0',
  28. 'module' => 'imagecache_canvasactions',
  29. 'name' => 'canvasactions_file2canvas',
  30. 'data' => array (
  31. 'xpos' => '25%',
  32. 'ypos' => 'bottom-10%',
  33. 'path' => 'misc/druplicon.png',
  34. ),
  35. ),
  36. array (
  37. 'weight' => '0',
  38. 'module' => 'imagecache_canvasactions',
  39. 'name' => 'canvasactions_file2canvas',
  40. 'data' => array (
  41. 'xpos' => '0%',
  42. 'ypos' => 'top+10%',
  43. 'path' => 'misc/druplicon.png',
  44. ),
  45. ),
  46. array (
  47. 'weight' => '0',
  48. 'module' => 'imagecache_canvasactions',
  49. 'name' => 'canvasactions_file2canvas',
  50. 'data' => array (
  51. 'xpos' => 'right+50',
  52. 'ypos' => '50%',
  53. 'path' => 'misc/druplicon.png',
  54. ),
  55. ),
  56. ),
  57. );