Skip to main content

Recent Posts with Thumbnails Widget for Blogger / Blogspot

Recent Posts with Thumbnails is an interesting hack that allows you to display your latest posts in various styles. besides making more cool the display, these widgets can also attract the eyes of visitors. If they are not interested in the post title may be the image was displayed can get them interested. This post explains how to add Recent Posts widget in Blogger with image thumbnails.this Gadget will help you to display the most Recent Posts on your Blog’s Sidebar. The Gadget has an options panel and can be configured to meet your needs. You can easily customize whether or not you would like to display thumbnails, post summaries, and the number of comments for each post along side the titles. So just start the tutorial to create a "Recent Posts With Thumbnails".


Read More :
1. Recent Posts Widget for Blogger Text CSS Hover Effect with jQuery
2. Animated Recent posts for Blogger with Thumbnails - Simple Spy



I have to write two set of instructions for each steps, as some of you are using the default layout, and some of you are using the new layout. So, let's see how to install this cool widget in your blog..

Step 1:

If you're using the old Blogger interface: Go to Dashboard - Design - Page Elements - Add a Gadget.

Add a Gadget of HTML/JavaScript type.


If you're using the new Blogger interface: Go to Dashboard - Layout - Add a Gadget

2.Click on 'Add a Gadget' on the sidebar.

3.Select 'HTML/Javascript' and add the one of code given below

4. Now Click On Save 'JavaScript' You are done.


<div id="24work">
<a href="http://24work.blogspot.com" target="_blank" title="Blogger Widgets"><img src="http://safir85.ucoz.com/24work-blogspot/cursor-24work-10.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a><script language="JavaScript">
imgr = new Array();

imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";


showRandomImg = true;

tablewidth = 298;
cellspacing = 8;
borderColor = "#ffffff";
bgTD = "#ffffff";

imgwidth = 80;
imgheight = 80;

fntsize = 12;
acolor = "#666";
aBold = true;
icon = " ";

text = "no";

showPostDate = false;

summaryPost = 50;
summaryFontsize = 11;
summaryColor = "#666";
icon2 = " ";

numposts = 5;

home_page = "http://24work.blogspot.com/";

</script>
<script src="http://safir85.ucoz.com/bdlab-blogspot/24work/rec-thumbnail/recentposts_thumbnail-1.js"></script>
</div>





Explanation:



(Edit the values to fit your blog)



tablewidth - Width of the widget

cellspacing - Space 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

acolor - Color of the titleaBold - you want bold titles? (true or false)

numposts How many posts you want to show?

home_page : http://24work.blogspot.com/ (change this to your blog url)



And now click Save




this widget was made by [ http://www.instantfundas.com ]




















you might like the Recent Posts with Thumbnails Widget 2



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

well they are many hacks up there on the net for RECENT POSTS BLOGGER !

and actually i have tried many of them ! and while i was surfing the net than i found this amazing hack !

finally i have got what i want ! this widget was made by the legend “bloggertricks” we thanks him for this amazing widget ,very simple recent posts …bravo for the great job !



So, let's see how to install this cool widget 2 in your blog..

1. Sign into Blogger dashboard
2. Go to Design » Add a gadget » html/javascript

3. Just copy and paste this code..



<div id="24work">
<a href="http://24work.blogspot.com" target="_blank" title="Blogger Widgets"><img src="http://safir85.ucoz.com/24work-blogspot/cursor-24work-10.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a><script language="JavaScript">

imgr = new Array();


imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[1] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[2] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[3] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";

imgr[4] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN86yYladiuYNxok3XrafqNE-4lLKoUahkN1FcqKMjxnttZm8QuxZ9xgIRLqZ13MkH3IYkfRhbAUOexUR3azJ0CKw397IS9ZWQukPpcpgnoLB_4kB7PmQM8whbejTvA61mNRiKM123MY0/s400/noimage.png";
showRandomImg = true;

boxwidth = 298;

cellspacing = 8;

borderColor = "#ffffff";

bgTD = "#000000";

thumbwidth = 80;

thumbheight = 80;

fntsize = 12;

acolor = "#666";

aBold = true;

icon = " ";

text = "comments";

showPostDate = false;

summaryPost = 40;

summaryFontsize = 10;

summaryColor = "#666";

icon2 = " ";

numposts = 5;

home_page = "http://24work.blogspot.com/";

</script>

<script src="http://safir85.ucoz.com/bdlab-blogspot/24work/rec-thumbnail/recentposts_thumbnail-2.js" type="text/javascript"></script>
</div>





There are many variables in this script that you need to adjust to blend the widget’s look with that of your blog template. Most of them are self explanatory.

4. In the code, look for the line…

home_page = "http://24works.blogspot.com/";
and replace the blog address with your own blog address

5. How to change the number of posts
By default, this widget is set to display a maximum of 5 recent posts. To change this number,
numposts = 5;
edit line in the code and replace the number 5 with the number of posts desired:

6. How to change thumbwidth & thumbheight
thumbwidth = 80;

thumbheight = 80;
Width and Height of the thumbnail (default are good)



And now click Save













Recent Posts Widget with Thumbnails for Blogger





You are surely familiar with the Recent posts widget for blogger and you can integrate easily into blogger in few steps.But now, Its time to show recent posts widget with image thumbnails in blogger as it will shows your post images with the recent posts in your blog sidebar.Its so easy to implement it into your blogger templates just like the typical recent posts widget.Thansk to Aneesh for this awesome widget! The main features of this widget are:

*It shows the latest posts with tiny thumbnails images (size 75 x 75).
*It shows a bold title of the posts with summary.
*It shows the number of comments, date and ofcourse, a Read more link.
*And its highly customizable (don't worry, i will tell you how to customize).

This widget can be seen live in my blog sidebar.Anyways step ahead to know how to add it in your blogspot blogs.

How to Add Recent Posts Widget with Thumbnails to blogger:

Step 1.Login to your blogger dashboard and go to layout.
Step 2.Now click "Add a Gadget" on your desired sidebar and select "HTML/ Javascript".
Step 3.Now copy the below code and paste it in the "HTML/ Javascript" box:







<div id="24work">
<a href="http://24work.blogspot.com" target="_blank" title="Blogger Widgets"><img src="http://safir85.ucoz.com/24work-blogspot/cursor-24work-10.png" border="0" alt="Blogger Widgets" style="position:absolute; top: 0px; right: 0px;" /></a><style>img.recent_thumb {padding:1px;width:55px;height:55px;border:0;



float:right;margin:0 0 5px 10px;}.recent_posts_with_thumbs {float: left;width: 100%;min-height: 70px;margin: 5px 0px 5px 0px;padding: 0;font-size:12px;}ul.recent_posts_with_thumbs li {padding-bottom:5px;padding-top:5px;min-height:65px;}.recent_posts_with_thumbs a {text-decoration:none;}.recent_posts_with_thumbs strong {font-size:10px;}</style>



<script style='text/javascript' src='http://safir85.ucoz.com/bdlab-blogspot/24work/rec-thumbnail/recentpostswiththumbnailsv3.js'></script>



<script style='text/javascript'>



var numposts = 5;

var showpostthumbnails = true;

var displaymore = true;

var displayseparator = true;

var showcommentnum = true;

var showpostdate = true;

var showpostsummary = true;

var numchars = 100;</script>



<script src='http://24work.blogspot.com/feeds/posts/default?orderby=published&alt=json-in-script&callback=showrecentpostswiththumbs'></script>

</div>





Step 4.Now Replace YOURBLOGURL with you desired blog URL and save the widget and you are done.

Customization:

Now its easy to customize this widget, just have a glimpse on the above code and you will see some code colored in "Red".You can play with this code to customize it.You can change the number of posts to show or you can change other options to True/ False to customize it!









Recent Posts Widget Generator



1. Change the title of the widget if you want.



2. Change the number of posts links you want to display.



3. Change the number of words you want to include in the summary to display.



3. Click the “Reset” generate button to make the changes take effect, then click on the “Add to My Blog” button.
















Many thanks to bloggerplugins for making this code and I just tested and modified to work on blogger





Comments

Popular posts from this blog

4 Surprising Ways Artificial Intelligence will Empower Consumers

Ever wonder what makes Siri search the items inside the iPhone and on the web by recognizing your voice? How does Google listening work? Artificial Intelligence and data science have already infused in this consumer-oriented generation, but we have not realized it yet. It has been quite a while that natural language processing, speech recognition, and gesture recognition system took over the market with their all new features, but what are the new things in AI that are yet to come? Few amazing transformations are: Retailing sector to become AI-ready Voice Recognition will change the game Search engines to become smarter Machine learning to bring revolutionary changes Recently we got to learn about a verbal spat between Elon Musk and Mark Zuckerberg over the probable risk and opportunities brought by AI . Believe it or not, but we already accustomed to Artificial Intelligence and probably waiting to witness jaw-dropping inventions. Some of AI inventions we have known till yet are: Mach

How to unhide or show folders in mx player list

In this blog post, I tell you about how to Show or Hide folders from MX player list. There are two methods to Show folder from MX Player list. Method 1: Unhide / show folders If you want to temporarily Show / Unhide hidden folder from MX Player list, then go to Settings and untick Recognize .nomedia ".  Method 2: Permanently unhide / show folder: Open memory by any file explorer and I recommend X-Plore, and open the folder that is Hidden and find the file " .nomedia ". If you didn't find it, you should first enable "Show files hidden files that starts with .(dot)". Delete the file and you just need to refresh MX Player list to take changes. Note: MX Player always hide those folders which file " .nomedia " exists.

How to use arrays in Python

Arrays in Python give you a huge amount of flexibility for storing, organizing, and accessing data. This is crucial, not least because of Python’s popularity for use in data science. But what precisely is an array? And how do you use arrays in Python? Also read: How to use dictionaries in Python Read on, and we’ll shed some light on the matter. What is an array? An array is a way to store multiple values in a single variable. That means that you can use a single “reference” in order to access your data. A list is also an example of a variable that stores multiple values, but has some slight differences. When using lists in Python, you store a series of values each with a numbered index. For example, this is how you would create a list of fruits in Python: fruits = [“apple”, “orange”, “pear”, “nectarine”] If we then say: print(fruits[3]) We will see “nectarine” appear on the screen (the first entry is stored as “0”). Also read: How to use lists in Python This is not an