Gregwar / Image

A PHP library to handle images
MIT License
1k stars 191 forks source link

Resizing fallback images #53

Open maclofster opened 10 years ago

maclofster commented 10 years ago

Hey,

Would it be possible to have the fallback image get resized to the dimensions requested for the original image?

Currently we have a fairly large placeholder image and request images in many different sizes.

Thanks!

ashmenon commented 9 years ago

+1 for this. Right now I'm using correct() to determine if whether or not the image is going to use a fallback. If it is, then I create a new object with the fallback image's path, and resize it like I would a main object.