scale.imagecache_preset.inc 450 B

1234567891011121314151617181920212223242526
  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'] = array (
  11. 'name' => 'scale',
  12. '#weight' => 1.1,
  13. 'effects' => array (
  14. 0 => array (
  15. 'weight' => '-1',
  16. 'module' => 'image',
  17. 'name' => 'image_scale',
  18. 'data' => array (
  19. 'width' => '100',
  20. 'height' => '',
  21. 'upscale' => 0,
  22. ),
  23. ),
  24. )
  25. );