• Hi,

    Is there a way we can get the plugin to leave the src attribute in the image as normal yet still lazy load images in the same manner? Essentially because pinterest plugin to choose an image to share doesn’t work with your plugin due to the src attribute changing, and using datasrc instead. Just wanted to see if there was anything on your side that could be done to fix it?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Bernhard Kau

    (@kau-boy)

    I am afraid that this is not possible as you suggest. The whole point of any lazy loading technique is replacing the src attribute, so the browser will not immediately load the images.

    I think it would be possible, to use the provided filter, to turn Crazy Lazy off, when Pinterest is requesting the page.

    Do you know the user agent Pinterest is using? I am not a user myself. If not, I have to find that out.

    Thread Starter mrsupernatural

    (@mrsupernatural)

    I am not sure what you mean by user agent with pinterest, how can we find out? I can send a link to the page if you want.

    Also this may be jumping topics a bit but, I noticed that your plugin seems to work by viewing the website personally, but when I run the pages through webpagetest the images are still loaded before document complete and so doesn’t save any http requests. I have run it through page speed insights and others too and haven’t noticed a difference in load time at all.

    Plugin Author Bernhard Kau

    (@kau-boy)

    Hi! By user agent, I mean the way on how the Pinterest bot is crawling the page. Most social media services use a unique string, when the visit a page. This could be used to deactivate the lazy loading for Pinterest.

    To your second question. As website speed test execute JavaScript. If they also “scroll” the page, they will load the images through the lazy loading process.

    Are you still interested in using the plugin together with Pinterest?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Use original SRC’ is closed to new replies.