Saturday, September 17, 2011

Fixing Blogger's new "feature"

You may have noticed when clicking on blog photos recently, that instead of getting a larger version of the picture, Blogger just displays the photo in a sort of slideshow format.  While you and I might consider this a bug, the folks who run Blogger, in their infinite wisdom, call it a "feature."

Unless Blogger decides to undo its unilateral implementation of this "feature," we are forced to view photos on other blogs in this manner.  However, there is a fix for individual blogs, which I have applied to SGDN.  Here's how to bring back the old way of displaying photos on your own blog:
  1. Go to the Design section of your blog (you know, the "Add and Arrange Page Elements" section).
  2. Click on "Add a Gadget" (anywhere on the page)
  3. Select the "HTML/Javascript" gadget
  4. Leave the title blank and paste this code into the "Content" section.
  5. Save your changes, and your blog will display photos the way you expect it to.


Desert Scribe said...

Paste the following code into your HTML/Javascript gadget:

<script type="text/javascript">
function killLightbox() {
var images = document.getElementsByTagName('img');
for (var i = 0 ; i < images.length ; ++i) {
images[i].onmouseover=function() {
var html = this.parentNode.innerHTML;
this.parentNode.innerHTML = html;
this.onmouseover = null;

if (window.addEventListener) {
} else {

CounterFett said...

Thanks for digging this up. One of my blogs this doesn't matter, but on the other it is sort of self defeating. Taking very high res macro images then not being able to view them enlarged is...aggravating.

Don M said...

Thanks I hated the slide show!

RavenFeast said...

Thank you! I guess since facebook was doing it, blogger had to do it, as well. "See? We're hip, modern and happening, too!"

Laughing Ferret said...

Thanks for finding that!

Last night it semeed images were no larger, now they seem to show up as original size in the slideshow, so I'll not change it for now, but see how it goes and use your code if I don't like it.

Though I don't put up anything truly massive, so I don't know if it would zoom in for pictures larger than 8" across at 180 dpi, which is about as big as I tend to use.

Colonel Shofer said...



Captain Kellen said...

Thank you for the time and the article!

I'll be in the corner fix'n things!


Dan said...

I didn't even realize it effected my blog, I thought it was an option others had chosen for theirs, I will fix this now, thanks for the fix.

Dan said...

Awesome, it worked, great work mate.


Paul´s Bods said...

Thanks for that...why does blogger keep Pi**ing about with the system....I mean, it´s not as if any of the changes they have recently made have been a sucess for them or us..

Bix said...

Thanks mate, with this you have restored my calm. :)

 Ashley said...

Bloody brilliant fix. Thanks for that, most appreciated.

Joseph said...

Ditto the thanks. I put in the gadget and it worked like a charm.

ckutalik said...

So I did it and it worked. Now it doesn't (for your's either btw). Ugh.

Think Google did a work around?

CPBelt said...

Google has backtracked on lightbox and reverted back to the old way of displaying photos. You can now delete the code from your blog. I deleted the kill-code on my blog and photos display fine. Deleting the kill-code also stopped the thumbnails from loading with some odd flashes.

Love the retro gaming here! Lots of memories!