Add recent post widget with thumbnail

by Nandupatel on June 10, 2009

In my previous post I talked about how to show recent post widget in blogger. Most people loved it and for that instance I thought to post same idea but with thumbnail. You can also show image as thumbnail in recent post widget.

Before we get started how to do it, take look at its demo image:

Here are step for that.

1. Log in to your Blogger account.
2. Click Layout >> Page Element.
3. Click on Add Gadget and add below code in it.

<script language="JavaScript">

imgr = new Array();

imgr[0] = "http://img195.imageshack.us/img195/7350/blocko.gif";

imgr[1] = "http://img195.imageshack.us/img195/7350/blocko.gif";

imgr[2] = "http://img195.imageshack.us/img195/7350/blocko.gif";

imgr[3] = "http://img195.imageshack.us/img195/7350/blocko.gif";

imgr[4] = "http://img195.imageshack.us/img195/7350/blocko.gif";
showRandomImg = true;

boxwidth = 298;

cellspacing = 8;

borderColor = "#000000";

bgTD = "#000000";

thumbwidth = 40;

thumbheight = 40;

fntsize = 12;

acolor = "#666";

aBold = true;

icon = " ";

text = "comments";

showPostDate = false;

summaryPost = 40;

summaryFontsize = 10;

summaryColor = "#666";

icon2 = " ";

numposts = 7;

home_page = "http://example.blogspot.com/";

</script>

<script src="http://www.thebloguser.com/blogger/recentposts_thumbnail.js" type="text/javascript"></script>

Change green text with your choice of height and width and blue text with your blog name like http://yourname.blogspot.com

4. Move your Widget as your choice and save it. You are done.

What is next to do?

If you didn’t subscribe at then do it now. So, you will not loose any update on this blog.

I really want to thanks Kranthi. He have made this tricks.

{ 15 comments… read them below or add one }

Anonymous June 11, 2009 at 11:11 am

thanks for useful tricks….

Reply

Mohan Desai June 11, 2009 at 8:11 pm

Nice articale, can you post about how to add RELATED POSt in blogger

Reply

Admin June 11, 2009 at 9:39 pm
ur friend June 14, 2009 at 3:46 am

copied the widget from BLOGGERTRICKS.COM
and you didn't gave him credit..

that's really bad..

I followed your blog sofar.. and.. now.. I HATE YOUR BLOG :(

Reply

admin June 14, 2009 at 10:22 am

i did it man…

check out this line…

I really want to thanks Kranthi. He have made this tricks.

Reply

admin June 14, 2009 at 10:23 am

next time don't post anything without reading everything…..

Reply

ced June 17, 2009 at 6:38 am

HI! thank a lot for this widget and your help… when I install this code I see the title of my post OK but I don't see the associated image :-( . If you want to look on http://africablackmodel.blogspot.com best regards ced

Reply

Admin June 17, 2009 at 9:14 pm

I checked it. Did you did everything as well as in my post. I think you didn't. Check again. other wise contact me using contact form.

Reply

CED June 18, 2009 at 10:03 am

I checked it again, read line by line the widget code but it's always do the thing I can't see the images of my posts … thank you for your answer and for your help

Reply

CED June 19, 2009 at 5:22 pm

Now it's ok thank a lot to you and my friend Laurent because I have to change and option to blogger 'complete feed'

Reply

Engadgeteer July 16, 2009 at 6:26 am

I have find a really cool recent post widget with thumbnails too, you may look at this link for more information : http://www.engadgeteer.com/2009/07/recent-posts-widget-with-thumbnails.html

Reply

bryandel July 18, 2009 at 1:40 am

Check this new Recent Post with Thumbnail Widget. Http://bryandel.net/feed/

Reply

websoftwaredownload March 14, 2010 at 7:52 am

nice article and keep sharing guys.
THX
.-= websoftwaredownload´s last blog ..AVG Internet Security 9.0.790 build 2730 =-.

Reply

chinna April 23, 2010 at 1:56 am

how to create recent posts widget
like this site http://www.telugufreemoviesonline.com/

only thumnails

Reply

nandu patel May 17, 2010 at 4:00 pm

@chinna

Change blogger/recentposts_thumbnail.js to blogger/onlythumbs.js and change thumbwidth and thumbheight according to your choice. Contact me if you need more help.

Reply

Leave a Comment

Previous post:

Next post: