On my site(it is live now), my product image size i specified was 255px x 344px. But the customers uploaded images of size 1024px x 683px. So the images look very bad now. how can i re size the images without affecting its clarity?

1 Answer 1


Magento keepAspectRatio(bool), keepFrame(bool) and resize(width,height) will solve image sizing related problems for any image.

In your theme/template/catalog/product/view/media.phtml find the related code to show images and add this code.


Hope it solves your problem.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.