How to Disable Lightbox for Photos in Blogger Blogs


Recently Google’s blogger blogspot has been pushing fresh updates such as the launch of iOS app for blogger blogs and launching of Lightbox feature for photos in blogspot blogs etc. The new lightbox feature introduced by Google blogger platform aimed at improving the photo viewing experience, but failed to keep it as optional. Yes, the lightbox feature cannot be removed, it compulsorly adds one in all the pictures of your blogs. I agree, lightbox is a good way to highlight pictures and useful in many cases, but not all.

How to Disable or Remove Lightbox feature in Blogger blogs?

Some reasons to remove this lightbox features – If you’re already using some effects similar to this for your blog images, then it will clash with it and show two images for each popup, also if may reflect with some other patch works in your template. Let’s see how to disable them.

They have been using javascript to implement on blogs, so a simple javascript code can disable them. To disable, just use the below javascript code before </head> tag.

<script type=’text/javascript’>
//<![ CDATA [
killLightbox function () {
var images = document.getElementsByTagName (‘img’);
for (var i = 0; i </ Script>

Simple, once you’ve added this code before the closing head tag, hit save. You won’t be able to see the lightbox then.

For a limited time I'm sharing some select Tips and Tricks and How-To Guides for FREE.

Speak Your Mind