I am using Zend_File_Transfer_Adapter_Http for uploading Images. I need to set maximum size of uploading images to 300*300.Is there any solutions in Zend_File_Transfer_Adapter_Http class.Please help me.Already browse for solution; but nothing helps.
It is making with help of Zend_Filter_ImageSize.
$filter = new Zend_Filter_ImageSize(); 
$output = $filter->setHeight(100) 
->setWidth(200) 
->filter('./orig.jpg'); 
                        If you want to allow a bigger upload but resize, see http://phpthumb.gxdlabs.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With