Created
October 15, 2012 19:22
-
-
Save jmather/3894587 to your computer and use it in GitHub Desktop.
Making thumbnails with Imagine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $transformation = new Imagine\Filter\Transformation(); | |
| $size = new Imagine\Image\Box($image_size['width'], $image_size['height']); | |
| $transformation->thumbnail($size, $image_size['style']); | |
| $image = $transformation->apply($image); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment