Pinterest share button
-
Hi Florian,
Thanks again for the awesome plugin and support ??
I recently added a Pinterest share button using the Monarch plugin.
When your lazy load plugin is active and I click on the Pinterest share button, only the images which I set to not lazy load show up in the window of images available to share. The images set to lazy load have placeholder images to represent them instead. Even after all images have lazyloaded on the page, the lazy loaded images still just have placeholder images in that “choose image” window.
When I deactivate the lazy loader plugin, and click the pinterest share button, all the images show up nicely in the window to choose which image to share.
The only relevant thing I found was this very similar ticket: https://github.com/aFarkas/lazysizes/issues/153
on Sep 4, 2015
Thank you so much for helping with this issue, it is now working using the code in your first example (using the picture element). I had to remove the ‘data:’ from the image tag to maintain the full page size on initial load and prevent resizing during scroll.referring to this:
…
<img
src=”data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==”
data-src=”https://placehold.it/700×300″
class=”lazyload”
alt=”image with artdirection” />
</picture>But I’m not sure how to use that or the other comments in that issue ticket.
When I inspect element in my pinterest share window:
image that I set to not lazy load in settings, shows up great:
img src=”https://mydomain.com/….Final-3.jpg” alt=”This is alt text.”image that lazy loads and shows placeholder image in this pinterest share window:
img src=”undefined” alt=”This is alt text.”Thanks a lot ??
- The topic ‘Pinterest share button’ is closed to new replies.