positioned_underlay.imagecache_preset.inc 1022 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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['positioned_underlay'] = array (
  12. 'name' => 'positioned_underlay',
  13. '#weight' => 4.4,
  14. 'effects' => array (
  15. 0 => array (
  16. 'module' => 'image',
  17. 'name' => 'image_scale',
  18. 'weight' => '0',
  19. 'data' => array (
  20. 'width' => '200',
  21. 'height' => '',
  22. 'upscale' => 0,
  23. ),
  24. ),
  25. 1 => array (
  26. 'module' => 'imagecache_canvasactions',
  27. 'name' => 'canvasactions_canvas2file',
  28. 'weight' => '1',
  29. 'data' => array (
  30. 'xpos' => '50',
  31. 'ypos' => 'bottom+50',
  32. 'alpha' => '100',
  33. 'path' => "$filepath/shiny-bg.png",
  34. 'dimensions' => 'background',
  35. ),
  36. ),
  37. 4 => array (
  38. 'weight' => '10',
  39. 'module' => 'imagecache_coloractions',
  40. 'name' => 'coloractions_convert',
  41. 'data' => array (
  42. 'format' => 'image/png',
  43. ),
  44. ),
  45. ),
  46. );