syamilmj / Aqua-Resizer

Resize WordPress images on the fly
502 stars 208 forks source link

Problem with unlimited image height #41

Open partnuz opened 10 years ago

partnuz commented 10 years ago

I want to use resizer with 9999 parameter which allows for unlimited height. The problem is line 113 "if ( ! $dims || ( true == $crop && false == $upscale && ( $dst_w < $width || $dst_h < $height ) ) )" Could somebody shed light on what is the purpose of of it ?

anteksiler commented 10 years ago

Agreed, this is quite needed on masonry layout where you want images with different heights, but with fixed widths.

rxnmoldovan commented 7 years ago

anyone could paste the code with a solution regarding this issue? thank you