scale_rotate.imagecache_preset.inc 690 B

12345678910111213141516171819202122232425262728293031323334353637
  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['scale_rotate'] = array (
  11. 'name' => 'scale_rotate',
  12. '#weight' => 1.3,
  13. 'effects' => array (
  14. 1 => array (
  15. 'weight' => '1',
  16. 'module' => 'image',
  17. 'name' => 'image_scale',
  18. 'data' => array (
  19. 'width' => '',
  20. 'height' => '150',
  21. 'upscale' => TRUE,
  22. ),
  23. ),
  24. 2 => array (
  25. 'weight' => '2',
  26. 'module' => 'image',
  27. 'name' => 'image_rotate',
  28. 'data' => array (
  29. 'degrees' => '15',
  30. 'random' => 0,
  31. 'bgcolor' => '',
  32. ),
  33. ),
  34. ),
  35. );