Image resize helper for Cake

A nice little helper for resizing images was published today by Josh Hundley at the bakery. The helper caches the resized image as well so that resize functions aren’t called every time the script is called.

When including this helper it is fairly easy to resize the image in your views.

Just use the following code:

echo $image->resize('myimage.jpg', 150, 150, true);

You can download the helper here

Leave a Reply