keyword_positioning.imagecache_preset.inc 1.4 KB

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