Disable Blogger Lightbox Gallery

bloggerBlogger recently turned live a lightbox gallery feature on all blogspot accounts. Problem is they didn’t ask users or even test it first on Blogger Draft. They also turned it ON by default without any option of turning the feature off. Some users who have implemented their own lightbox scripts were met with a double-popup when user click an image, including this blog. Other were furious because the update wrecked their site. There is now a Facebook page for Bloggers Against Lightbox. Instructions after the jump.

How to Disable Blogger Lightbox on your Blogspot

1. Login to your Blogger Account and go to your Layout Page
2. Add an HTML gadget
3. Input the code below and leave the title blank

------ start code----------

<script type="text/javascript">
function killLightbox() {
  var images = document.getElementsByTagName('img');
  for (var i = 0 ; i < images.length ; ++i) {
    images[i].parentNode.innerHTML = images[i].parentNode.innerHTML;
if (document.addEventListener) {
} else {

-------- end code -----------

Let me know if this works for you. Worked on mine.

[via] Google Support

Post a Comment

Before placing your comments, please remember to stay on topic. Thanks

Previous Post Next Post

Recent in Technology