November 29, 2023

Textual description of firstImageUrl

How to set specific post thumbnail for Blogger posts

|
Last Updated: November 2023

Find out how to set specific post thumbnail or featured image for Blogger post with this tried-and-tested hack.

In other words, you decide which image from your blog post, or any image which have downloaded to Blogger, and also linked from other websites, to be the featured image or post thumbnail.

Blogger first image as post thumbnail

One of the pet peeves with the standard Blogger templates/themes is, it has already set the FIRST image from the blog post as the featured image on the homepage.

So when you add an image or picture to your Blogger post, you must make sure that the FIRST picture is the one you want it to be the post thumbnail.

I know it can be restrictive to your writing and the layout of your article.

I read in Webmasters.StackExchange, it says you can't control the thumbnail, as Blogger decides for itself which image to use.

It's not true.

You can choose any specific image you want it to be displayed as a post thumbnail on the Blogger homepage, together with the post except just like WordPress.

how to customize Blogger Post Featured Image

In fact, someone has already come up with a simple workable solution to this Blogger featured image restriction back in 2014.

It is by placing the image tag at the beginning of the post to ensure that this image is the one Blogger uses when it generates the post thumbnail.

Then hide that picture by adding the display: none CSS property to it.

With this trick, you can tell Blogger which image from your blog post to use in data:post.thumbnailUrl.

I find this simple method works perfectly.

In this tutorial I will elaborate it with more examples and explanation.

You just write and include all the supporting images accordingly to your article as usual.

Then you specified any featured image or post thumbnail in Blogger homepage of your choice, and the image is still included or visible in the post.

Using this blog post as a demo, the FIRST image of this article is the one above, right?

But when you look at this blog homepage, you would see the post thumbnail or featured image of this post is the picture below, which is the SECOND picture of this article.

How to set specific post thumbnail for Blogger homepage

The visual below which I captured from the homepage, after I have published this post.

How To Add Blogger Thumbnail

This is another example where you can tell Blogger not to display the FIRST image from the article as the post thumbnail for Blogger homepage.

Below is the blog post with two accompanying pictures.

Specified Which Blogger Post Thumbnail
At its homepage (see below) it actually displays the SECOND picture of the bearded lady, Madam Annie Jones Elliot.

blogger post thumbnail homepage hack

In fact, you can also see the post thumbnail at the Blogger dashboard.

How to add Blogger Featured Image
This third example has four (4) images in the blog post, and it can still pick any of pictures as its featured thumbnail.

How to fix Featured Image Thumbnail Blogger

Similarly Blogger homepage does not show the FIRST image (toast and a cup of coffee) as the post thumbnail.

Instead it uses the FOURTH picture of a Chinese coffee-shop (kopitiam).

add featured image in Blogger

Now let's find out how to get Blogger to pick or select the image which you want to be the post thumbnail of your blog post of your choice just like WordPress.

Set specific post thumbnail for Blogger posts

The two things you need to do are:

  • hide the particular image which you want it to be the thumbnail
  • place the image code at the beginning of the Blogger post editor

Step 1: Select thumbnail image 

I also use this HTML tag together with the style display property to hide the image from Blogger:

<img src="image-URL" style="display:none;">

This is how you do it:

After you have written your blog post together with the images, click on the "Preview" button on top right hand corner.

Blogger Preview To Get Image URL

Select the picture which you want to feature it as the thumbnail.

Right click on that picture, then move the cursor over to "Copy image address" and click on it.

How To Get The Blogger Image URL

Step 2: Paste image code at the beginning of post editor

Now you have copied the image URL which you want to use it as the post thumbnail.

Paste it onto the "image-URL" of this code: <img src="image-URL" style="display:none;">

Example: If your image URL is:

http://3.bp.blogspot.com/-GAbJO4ylZY/Tle4_gMQOrI/AAAAAAAAKd8/faTdFx0olRY/s320/sweet+lady-jane.jpg

Then this is how it looks like when it is included in the code (image URL highlighted in yellow):

<img src="http://3.bp.blogspot.com/-GAbJO4ylZY/Tle4_gMQOrI/AAAAAAAAKd8/faTdFx0olRY/s320/sweet+lady-jane.jpg" style="display:none;">

This code must be placed at the BEGINNING of the Blogger post editor.

For instance, earlier when I used this blog post as a demo, I hide the SECOND image URL (the man with the black fedora) from Blogger, because I want it to be the thumbnail of this post.

This is HTML code embedded at the beginning of my Blogger HTML editor:

Hide Featured Image URL From Blogger

Finally you click on the orange color "Publish" button.

That's all you need to do.

In short, you hide the image URL from Blogger, which you want it to show it as the post thumbnail on the homepage.

Use image not in blog post as thumbnail

If you want to use other picture which is not in the blog post, you can still do it too.

This is what you do:

Go to Blogger dashboard, click on "NEW POST" button.

You do not have to write anything,  just click the "Insert Image" icon.

Upload Images To Blogger

Select any of the four options. You can upload a new image, get it from your Google Album Archive (Photos & Blogger), or link it from outside (By URL).

NOTE: I have tried linking;image from other website and it works too.

4. Then you follow the steps exactly what I have shown you above from #4 to #9.

This is how to set specific post thumbnail or featured image for Blogger posts that still works in 2023.