
There is a jQuery plugin known as Lazy Image Load Script which actually makes your blog load fast by slowing down image loading. This way you blog loads first and after that Images load slowly when the user scrolls down the page. This is a great plugin and will definitely make your blog faster as the Images will load afterwards. This plugin is very useful for blogs with lots of Images / Wallpapers etc.
How to Install Lazy Image Load Plugin to Blogger
The Installation process is very simple and anyone can do it without any problems. All you have to do is follow the below steps:
- Go to Blogger > Template
- Click on Edit HTML (Backup your Template First)
- Search for </head>
- Paste the following script just before </head>
<script type='text/javascript'>//<;b.loaded=true}).attr("src",a(b).attr("original"))}});if("scroll"!=c.event){a(b).bind(c.event,function(c){if(!b.loaded){a(b).trigger("appear")}})}});a(c.container).trigger(c.event);return this};a.belowthefold=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).height()+a(window).scrollTop()}else{var d=a(c.container).offset().top+a(c.container).height()}return d<=a(b).offset().top-c.threshold};a.rightoffold=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).width()+a(window).scrollLeft()}else{var d=a(c.container).offset().left+a(c.container).width()}return d<=a(b).offset().left-c.threshold};a.abovethetop=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).scrollTop()}else{var d=a(c.container).offset().top}return d>=a(b).offset().top+c.threshold+a(b).height()};a.leftofbegin=function(b,c){if(c.container===undefined||c.container===window){var d=a(window).scrollLeft()}else{var d=a(c.container).offset().left}return d>=a(b).offset().left+c.threshold+a(b).width()};a.extend(a.expr[":"],{"below-the-fold":"$.belowthefold(a, {threshold : 0, container: window})","above-the-fold":"!$.belowthefold(a, {threshold : 0, container: window})","right-of-fold":"$.rightoffold(a, {threshold : 0, container: window})","left-of-fold":"!$.rightoffold(a, {threshold : 0, container: window})"})})(jQuery);$(function(){$("img").lazyload({placeholder:"http://i22.servimg.com/u/f22/15/42/72/40/grey10.gif",effect:"fadeIn",threshold:"-50"})})//]]></script>
- Now just save your Template.
Please share this article and don't forget to leave a comment below. If you are having any problems with this plugin then please leave a comment and I will reply asap!
laptop repair service in goregaon west
ReplyDeletelaptop repair service in malad west
buy original dell laptop battery in mumbai
buy lenovo laptop adapter in mumbai
laptop repair service in chandivali powai
laptop repair service in lokhandwala andheri west
laptop repair service in oshiwara jogeshwari west
laptop repair service in charkop kandivali west