Lazy load for images code

Job ID: 32593741

Budget: ₹2,500 – ₹0 INR

Hello there I working on lazy load images and it works perfectly, but I face a problem when I have to add, different attributes in images extension to enhance the quality.

I jQuery code from my friend, which works perfectly without any problem. he just told me to rewrite the code reshuffle and use it for your project, but due to insufficient knowledge about jQuery, I am not able to do this anyone can help me to rewrite this code again.

Here is the jquery code https://jsfiddle.net/pikitemplates/wrqu1okv/8/
Related categories: JavaScript jQuery / Prototype