positioned_underlay.imagecache_preset.inc 1.0 KB

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