I'm creating an image gallery and I want to thumbnail images for the category view. I don't want all of them to be 100x100 blocks as that'll mis-proportion some of them.
Can someone help me figure out how to have a $max_h and $max_w determine the size of the thumbnail whereas both sides must be less than or equal to (obviously the one side of the image should match with one of the max_h or max_w) all the while keeping the image in proportion?
In reply to Thumbnailing with image::magick by coldfingertips
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |