Recent Posts with Thumbnails Widget for Blogger

This post explains how to add Recent Posts widget in Blogger with image thumbnails:

Features:
Thumbails to Recent Posts
Comment Count
So, let’s see how to install this cool widget in your blog..

1. Sign into Blogger dashboard
2. Go to Layout » Add a gadget » html/javascript
3. Just copy and paste this code.


<script language="JavaScript">
imgr = new Array();
imgr[0] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[1] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[2] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[3] = "http://i43.tinypic.com/orpg0m.jpg";
imgr[4] = "http://i43.tinypic.com/orpg0m.jpg";
showRandomImg = true;
boxwidth = 250;
cellspacing = 8;
borderColor = "#ffffff";
bgTD = "#382d2c";
thumbwidth = 40;
thumbheight = 40;
fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";
text = "comments";
showPostDate = false;
summaryPost = 40;
summaryFontsize = 10;
summaryColor = "#666";
icon2 = " ";
numposts = 5;
home_page = "http://www.esoftload.info/";
</script>
<script src="http://www.yourjavascript.com/2501225200/cyber.js" type="text/javascript"></script>

Explanation:


(Edit the values to fit your blog)

boxwidth – Width of the widgetcellspacingSpace between cells (default one is good)

borderColor - Border color (add the background color of your template to perfectly blend it in the template)


thumbwidth & thumbheight – Width and Height of the thumbnail (default are good)fntsize – Font size of the title

acolorColor of the title aBold - you want bold titles? (true or false)

numpostsHow many posts you want to show?


home_page : http://www.esoftload.info/ (change this to your blog url)


This script is currently hosted in my server ( http://www.yourjavascript.com/2501225200/cyber.js ).


But, it is STRONGLY Recommended to download the script and upload to your own hosting (google for free javascripts hosts) and replace that url with yours.

4. Last but not the least.. Save the Changes.

Note : Make sure you selected YES in Settings » Site Feed » Full » Allow Blog Feeds.


post signature


Article by

Isha has written 200 awesome articles.

If you like This post, you can follow Cyber World on Twitter. Subscribe to Cyber World feed via RSS or EMAIL to receive instant updates.

Google Profile | Facebook

Write for us a Guest Post!
Google

1 Comments

  1. Is the images here in the HTML gives a dynamic thumbnails?
    Saturday Update recently posted..How to Upgrade Samsung Wave GT-S8500My Profile

0 Trackbacks

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    *

    You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

    CommentLuv badge