Join Our Telegram Group to connect with bigger community. Join Now!

Table of Content

Blogger Thumbnail images not showing in Blogspot posts [Solved] - Peak Fiction

Resolving Blogger Thumbnail Image Display Issues: A Quick Guide

Greetings, fellow bloggers! In this article, I'll guide you through the process of addressing a common issue: Blogger thumbnail images not appearing due to certain providers blocking image URLs with the prefix 1.bp.blogspot.com. Let's dive in and fix this problem together. Blogger Not Showing Images For Blog Posts?

Blogger Thumbnail images not showing in Blogspot posts [Solved] - Peak Fiction

Understanding the Issue:

Providers blocking image URLs with the prefix 1.bp.blogspot.com can lead to blank or missing thumbnail images on your blog. This issue particularly affects older blogs, as newer ones use blogger.googleusercontent.com for image hosting. How to Fix Blogger Posts Thumbnails Not Showing?

Manual vs. Automated Solution:

For those with a handful of posts, manually changing the image URLs from 1.bp.blogspot.com to 2.bp.blogspot.com is an option. However, for blogs with numerous posts, an automated solution using JavaScript is recommended. Lets see How to Fix Image Thumbnail Not Appearing Bug in Blogger.

JavaScript Code for Automatic Replacement:

Copy and paste the following JavaScript code above the </body> tag. Ensure to click save after inserting the code.

<script>

/*<![CDATA[*/

setInterval(function() {

var imgBp = document.getElementsByTagName('img');

    for (var i = 0; i < imgBp.length; i++) {

        imgBp[i].src = imgBp[i].src.replace('1.bp.blogspot.com', '2.bp.blogspot.com');

    }

}, 1000);

/*]]>*/</script>

Explanation of the Code:

This code utilizes setInterval to continuously replace '1.bp.blogspot.com' with '2.bp.blogspot.com' in the image source URLs every second. This ensures compatibility with lazyload if your blog uses it.

By implementing this straightforward solution, you can bid farewell to the frustration of Blogger thumbnail images not appearing. I hope this guide proves helpful for your blogging journey. Thank you for visiting, and happy blogging!

Post a Comment