How to defer offscreen images in hubspot?

Highlighted
New Contributor

Hi Folks,

 

on our datamatics website (https://www.datamatics.com), there is lazy-loading offscreen images, for this problem, we have found one solution through scripting code and attribute change name inside the <img> tag in HTML file. However, if we change attribute name of src to data-src in <img> tag, next time if we want to replace this image with new one, so this attribute name will change automatically to data-src or do we need to update it manually in HTML file?

or

Is there any other solution for how to defer offscreen images in hubspot?

if yes, then please suggest.

 

Best Regards,

Kiran S

3 Replies 3
Community Manager

Hey @kiran_shirsat     

 

I apologize for the delay in getting back to you. I am wondering if you were able to resolve this or if you still need assistance on this matter?     

 

Thank you

Sharon

Reply
0 Upvotes
New Contributor

Hi Sharon,

 

I am still waiting for the help.

 

Thanks,

Kiran

Reply
0 Upvotes
Community Manager

Hey @kiran_shirsat 

 

Thank you for letting me know. 

 

I will tag a few experts that will be able to give you some tips Smiley Happy

 

 Hey @DanielSanchez  @Kevin-C  could you please share your knowledge with @kiran_shirsat ?

 

Thank you 

Sharon