Welcome to the support center for

Fancy Product Designer & Multistep Product Configurator

Answered

srcset responsive attribute interferes with product designer replacing product image

Problem -- and simple solution.


The introduction of the responsive product media image in wordpress 'srcset' attribute has started to interfere with the loading of product custom images in the woocommerce custom product image display screens.


To correct for this is simple as a short term solution :


1) load your favorite on-page or short-code Javascript editor as a plug in. I used : "OH Add Script Header Footer"


2) add the following code on the product or page on which you want to re-enable product custom imagesĀ 


<script type='text/javascript'>

jQuery("img.wp-post-image").removeAttr("srcset");

</script>


-- this has re-enabled an essential feature on my pages.


Answer

thanks


Login or Signup to post a comment