How to resize image in magento?

To resize image in magento use below code and pass image url as parameter in Varien_Image object. /** Varien Image object for image url */     $imageObj = new Varien_Image($imageUrl); /** Set constrain */     $imageObj->constrainOnly(true); /** Keep Image Aspect ratio */     $imageObj->keepAspectRatio(false); /** Keep Image frame */     $imageObj->keepFrame(false); /** Keep Image Transparency */     $imageObj->keepTransparency(true); /** Set image background Color */ &nbs...
More