setting resize by height - upload class
Posted: Mon Dec 19, 2011 7:39 pm
Hi
Just wondering how you go about setting resize by height.
to resize by width i know its:
[syntax=php]$upload->save_image_resized('../folder/' . $upload->name, 800);[/syntax]
how do you go about resizing by height.
For instance the width doesnt matter on website, but the hight should not exceed 400px.
Just wondering how you go about setting resize by height.
to resize by width i know its:
[syntax=php]$upload->save_image_resized('../folder/' . $upload->name, 800);[/syntax]
how do you go about resizing by height.
For instance the width doesnt matter on website, but the hight should not exceed 400px.