Closed jaschaio closed 6 years ago
Once an image has been added to the DOM our inline scraper should see it. I know we had trouble with srcsets earlier this year, but that should be fixed.
One way to test would be to inject pinmarklet.js by hand with a toolbar bookmarklet, as documented here:
https://gist.github.com/kentbrew/142cb69124223a5d0f3b3fd7fc2c6bd0
I am using a lazyloading script to load images once the visitor starts scrolling. The script just takes the
src
andsrcset
attributes and replaces it with the ones prefixed withdata-
:Unfortunately if I click on a
data-pin-do="buttonBookmark"
Button the Grid only displays the images which are not lazyloaded. Only if I scroll down to the end of the page and thus all src's have been replaced it displays all images correctly.I tried loading all images before I do the "buttonBookmark" action but the pinit script doesn't seem to recognize them on the first click. I have to close the grid overlay and click again until it recognizes all images.
The same is true for the "Pinit Chrome Extension".
Is there anything I can do to make this work?