Home>Support>Envira Gallery and srcset

Envira Gallery and srcset

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?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 7 years, 10 months ago Alex S
    Hi, I Work Here

    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.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More