Skip to content
new ogbongeblog logo
  • Advertise
  • Blog
  • Contact

Display Automatic Post Thumbnail Images On Blogger’s Blog Homepage Without Javascript

August 18, 2013

·

Uncategorized
jidetheblogger Avatar
jidetheblogger

With a little tweak in your Blogger blog’s html, you can easily display automatic thumbnails in post summaries on your blog’s homepage when viewed on PC (desktop view). No need for any javascript nor complex css customization.

The tweak will enable the display of thumbnails automatically generated from images used in your posts on your homepage, while the full-sized images display on post pages.

Post Thumbnails will make your blog look fine if you are using the Blogger Jump break feature to add “ read more.. ” option to your blog posts. Below is a screenshot of a post excerpt on my blog with a post thumbnail aligned to the right and also with a “read more” icon.

post thumbnail

How To Add Post Thumbnails To Blogger Homepage

==> Log in to www.blogger.com
==> Back up your blog template
==> Go to “ Template ” > “ Customize ” > “ Advanced ” > “ Add CSS “
==> Copy and paste the code below in the css window:

 .postthumb {
padding: 5px;
float:left;
border: 1px solid #eeeeee;
-moz-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
-webkit-box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
box-shadow: 1px 1px 5px rgba(0, 0, 0, .1);
}

==> Click “ Apply to Blog “
==> Click “ Back to Blogger “
==> Go to “ Template ” > “ Edit HTML “
==> Click inside the HTML editor

==> Use CTRL F to find the second <data:post.body/>   in your blog’s HTML

==> Copy the code below, directly above the second <data:post.body/>

<b:if cond=’data:blog.pageType == “index”‘>
<b:if cond=’data:post.thumbnailUrl’>
<img class=”postthumb” expr:src =”data:post.thumbnailUrl” expr:alt=”data:post.title”/>
</b:if>
</b:if>

==> Save your template

==> View the homepage of your blog and you should see the post thumbnails appearing on each post excerpt.

NOTE : There must be an image in your post and you must have added the read more option to your post.

I hope it works for you.

Please Share :
blogger tips

Like What You Read?

Sign Up to get similar articles delivered to your email inbox.

Leave a Reply Cancel reply

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

26 responses to “Display Automatic Post Thumbnail Images On Blogger’s Blog Homepage Without Javascript”

  1. James Avatar
    James
    August 18, 2013

    I will try it once I get on PC. Thx Jide

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      August 19, 2013

      Ok James. No prob

      Loading…
      Reply
  2. Akuneme Christopher Avatar
    Akuneme Christopher
    August 19, 2013

    Timely tips. Thanks for sharing

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      August 19, 2013

      You're welcome

      Loading…
      Reply
  3. Godwin Odey Avatar
    Godwin Odey
    August 19, 2013

    Bro you would have captured the way it is on you blog, the image you uploaded above is not enough indication on how it is going to look when this code is inserted. What i saw in the image above is just a post which you have written before now. A demo view would have been better for better understanding. Nice post though

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      August 19, 2013

      I don't understand you. The screenshot is enough to let you know what post summary thumbnail is.

      Loading…
      Reply
  4. rotimi Armstrong Avatar
    rotimi Armstrong
    August 19, 2013

    Hi Jide,Great post here..Please i need your insight on this.I deposited my very first Adsense check into my Gtb Domiciliary Account more than 3 weeks ago.Please how do i know the funds have been credited to my Dorm Account? Will they(GTB) send me an alert as is the norm with my other accounts or how do i know the Check have been cleared and payment lodged into my account.secondly, Can How do i withdraw the money from my Domiciliary Account? Thanks and God Bless you for speedy response..

    NB: I would have visited the Bank for these Details but i am just recovering from a surgical Operation…

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      August 20, 2013

      If you've activated SMS/Email alerts on your dorm account, you will receive the alert. From the payments page of your Adsense account, you can know when it clears. To withdraw, go to the bank, pick up and fill the dorm account withdrawal slip.

      Loading…
      Reply
  5. Adebayo Ariyo Avatar
    Adebayo Ariyo
    August 20, 2013

    Is this code working for anyone? This is the error response i keep

    getting "Invalid variable declaration in page skin: Variable name

    must not be declared twice. Input: textcolor".

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      August 20, 2013

      If you follow the steps carefully, you won't get any error. Are you using a third party template?

      Loading…
      Reply
  6. Adebayo Ariyo Avatar
    Adebayo Ariyo
    August 21, 2013

    Yea, am using a third party template and I already have the "read

    more" hack. I just like it to look a lot neater.

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      August 21, 2013

      Some customization in your third party template might be causing the problem. You might need to reset the post widget.

      Loading…
      Reply
  7. ManchesterUnitedStuff Avatar
    ManchesterUnitedStuff
    August 22, 2013

    am new to blogging, when ever I post my news to my facebook and someone clicks on it facebook pop up a msg saying the site is a scam….plz how can I correct this.thank

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      September 8, 2013

      scam or spam? Mail me bro..

      Loading…
      Reply
  8. Olasunkanmi Fakeye Avatar
    Olasunkanmi Fakeye
    August 25, 2013

    This will be of help to bloggers using default templates but customized template like the one am using on openinformations blog automatically pic the first picture used in my posts as tumbnail on homepage.

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      September 8, 2013

      Yeah, some third-party templates were coded to work like that.

      Loading…
      Reply
  9. princeohue hacky Avatar
    princeohue hacky
    September 6, 2013

    hello jide how are you today i want to appreciate you for your post on this i have tried this but sir my background is dark and i can read my post see it http://www.nairamind.com

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      September 8, 2013

      I am not seeing any dark background on your blog bro.

      Loading…
      Reply
  10. Daniel chinaza Avatar
    Daniel chinaza
    September 28, 2013

    Thanks for the tip but the image did not appear on the right hand side like yours instead it was appearing on the left. Please how do i fix this

    Loading…
    Reply
    1. Jide Oguns Avatar
      Jide Oguns
      September 29, 2013

      In the first code, change the "float" from left to right.

      Loading…
      Reply
  11. toby allen Avatar
    toby allen
    July 24, 2014

    Thanks, it worked fine for my blog, Inforisticblog

    Loading…
    Reply
  12. Alfred Dennis Avatar
    Alfred Dennis
    January 17, 2017

    please jide, hw can i fix my blog posts showing twice?? both on homepage and individual post view.pls help me.

    Loading…
    Reply
  13. Topkeh The Guy Avatar
    Topkeh The Guy
    November 17, 2017

    How can I set a default on myself i.e the image that will automatically show if no image(s) is added to my post?

    Loading…
    Reply
    1. jidetheblogger Avatar
      jidetheblogger
      November 21, 2017

      I only know how to do such on WordPress

      Loading…
      Reply
  14. Topkeh The Guy Avatar
    Topkeh The Guy
    March 25, 2019

    Please, how can I set it for a template like that of Entclass… that shows no post summary on mobile version…

    Loading…
    Reply
  15. John Iroeg bu Avatar
    John Iroeg bu
    April 14, 2020

    Hello Jide, the second code did not work for me. It gave an error message “Error parsing XML, line 3599, column 16: Open quote is expected for attribute “cond” associated with an element type “b:if”. Please how do i correct this?

    Loading…
    Reply

WANT TO ADVERTISE?

Chat on WhatsApp

RELATED POSTS

  • Show Related Posts With Thumbnails Under Each Blogger Post
  • How To Show Related Posts With Thumbnails In WordPress Sidebaradd related content to wordpress posts
  • How I Added Related Posts Widget To Blogger Blog

FEATURED


  • CREDICORP launches C.L.I.C.K.D. Scheme with FG’s 3MTT Programme, expanding affordable consumer credit for locally-assembled laptops and devices for digital workers

    CREDICORP launches C.L.I.C.K.D. Scheme with FG’s 3MTT Programme, expanding affordable consumer credit for locally-assembled laptops and devices for digital workers

  • What Happens to Your Online Accounts When You Die?

    What Happens to Your Online Accounts When You Die?

JOIN AI WEB DESIGN GROUP


  • AI Website Design Training Whatsapp Group by Jidetheblogger

    AI Website Design Training Whatsapp Group by Jidetheblogger

← Larrie Peniel: Nigerian Master of Ceremonies that Redefines Event Anchoring / Compering
Mobstac: How To Switch from Pro to Starter Plan →

Join 25,000+ subscribers

Receive our latest blog posts in your inbox.

Search

Social

Facebook

Instagram

Twitter

new ogbongeblog logo

Copyright © 2026 | About | Advertise | Featured | Sitemap | Privacy Policy | Powered by WordPress

Your cart (items: 0)

Products in cart

Product
Details
Total
Subtotal ₦0.00
Shipping and discounts calculated at checkout.
View my cart
Go to checkout

Your cart is currently empty!

Start shopping

Notifications

%d

    LIKE My Fan Page

    Privacy Policy | Copyright © 2012,OgbongeBlog.All Rights Reserved. Powered by Blogger .
    Create a Mobile Site
    View Site in Mobile | Classic
    Share by: