This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

Envira Gallery and srcset

9 years ago · Last reply by Alex S 9 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

1
  1. Alex S Staff 9 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread