Hi,
I added envira gallery wigdet in page builder. The srcset image is not working anymore. If I disable your plugin, it works fine.
Now it is:
<img id="envira-gallery-image-123_3" class="envira-gallery-image envira-gallery-image-1" data-envira-index="1" src="/wp-content/uploads/2016/05/filename-200×300.jpg" data-envira-src="/wp-content/uploads/2016/05/filename-200×300.jpg" data-envira-gallery-id="303_3" data-envira-item-id="123_3" data-envira-caption="" alt="" title="" itemprop="thumbnailUrl" srcset=”/wp-content/uploads/2016/05/filename.jpg 2x” style=”opacity: 1;”>
It should be:
<img id="envira-gallery-image-123_3" class="envira-gallery-image envira-gallery-image-1" data-envira-index="1" src="/wp-content/uploads/2016/05/filename-200x300pg" data-envira-src="/wp-content/uploads/2016/05/filename-200×300.jpg" data-envira-gallery-id="303_3" data-envira-item-id="123_3" data-envira-caption="" alt="" title="" itemprop="thumbnailUrl" srcset=”/wp-content/uploads/2016/05/filename-300×300.jpg 2x” style=”opacity: 1;”>
Could you say why your plugin overwrite the srcset file?
Hi Ikart,
To clarify, what widget are you using? I can’t seem to find an Envira widget so I just want to confirm the widget name.