syamilmj / Aqua-Resizer

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

No image output without height set #77

Open Jugibur opened 8 years ago

Jugibur commented 8 years ago

The docs say "height" is optional, but without setting a height no image is returned;

Setting "height" to -1 does the trick, to do an proportional resize without knowing the output height.

seventhqueen commented 8 years ago

I confirm that it used to work with the height parameter not set. Using the latest version this no longer works and it return false.

timkirtley commented 8 years ago

Ah thanks -1 works. That had me stuck for a little while. Previously leaving that value out did work.