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 so the white space does not return when swatches are clicked? Thanks

  • Did you ever find out how to do this? I'm having the same problem. – Liam McArthur Mar 25 '16 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. – themanwhoknowstheman Mar 26 '16 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. – Liam McArthur Mar 26 '16 at 13:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.