0

Currently, I am using keepFrame(false) on the product images of my category listings page to remove the white space Magento automatically adds. How can I also pass keepframe(false) to the images that are swapped out by the core swatches? The white space does not return when swatches are clicked? Thanks.

3
  • Did you ever find out how to do this? I'm having the same problem. Mar 25, 2016 at 11:29
  • I never found a solution. I did a quick fix by re-enabling keepframe and just cropping the product images as I needed. Mar 26, 2016 at 13:05
  • I think the problem is that the image is then reloaded with javascript so there's no way to repass the keepframe parameters in PHP. I think I may completely stop Magento from adding whitespace in the core. That should hopefully fix it. Mar 26, 2016 at 13:07

0

Your Answer

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

Browse other questions tagged or ask your own question.