Lazy Loading Breaking Site
-
I recently updated to Siteground Optimizer version 6.0.4 and the Lazy Load option is breaking my images. My src tag is all messed up. The src looks something like this: src=”data:image/gif;base64,R0… </div></div></div><div class=” This is breaking my images, but also is messing up the entire layout.
To fix the problem all I have to do is disable Site Ground Lazy loading.
-
Hello @nathangervenak,
A fix is already applied on the SiteGround Optimizer version 6.0.5. You can update the plugin and enable Lazy Loading for the website.
Best Regards,
Elena-
This reply was modified 3 years, 3 months ago by
Elena Chavdarova.
Hi, I have the plugin 6.0.5 but the lazy load still breaks my website.
In particular it breaks my figure caption. Without the lazyload the code looks like
<figure id="attachment_6898" aria-describedby="caption-attachment-6898" style="width: 500px" class="wp-caption aligncenter"><a href="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?ssl=1" data-slb-active="1" data-slb-asset="992281328" data-slb-internal="0" data-slb-group="6896"><img loading="lazy" class="wp-image-6898" src="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=500%2C226&ssl=1" alt="Creating the first workspace" width="500" height="226" srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w" sizes="(max-width: 500px) 100vw, 500px" data-recalc-dims="1"></a><figcaption id="caption-attachment-6898" class="wp-caption-text">Creating the first workspace</figcaption></figure>
With the lazy load
<figure id="attachment_6898" aria-describedby="caption-attachment-6898" style="width: 500px" class="wp-caption aligncenter"><a href="https://www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png" data-slb-active="1" data-slb-asset="858202475" data-slb-internal="0" data-slb-group="6896"><img class="wp-image-6898 ls-is-cached lazyloaded" src="https://www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png" data-src="https://www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png" alt="Creating the first workspace" width="500" height="226" data-srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w" sizes="(max-width: 500px) 100vw, 500px" srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w"><figcaption id="caption-attachment-6898" class="wp-caption-text"><noscript><img class="wp-image-6898 lazyload" src="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=500%2C226&ssl=1" alt="Creating the first workspace" width="500" height="226" srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w" sizes="(max-width: 500px) 100vw, 500px" data-recalc-dims="1"></noscript></figcaption></a> Creating the first workspace</figure>
Apparently the lazy load breaks the order of the tags and the figcaption got messed
-
This reply was modified 3 years, 3 months ago by
Rocco Marco Guglielmi.
-
This reply was modified 3 years, 3 months ago by
- The topic ‘Lazy Loading Breaking Site’ is closed to new replies.