Cool site to make money from PTC ,PTU and PTS sites and adfly,adf.ly,youtube,facebool,twitter,neobux,probux and blogging tips, tools, tutorials many things.

How to Remove Or Disable Lightbox Image View From Blogger

by test , at 12:37 AM , have 1 comment
Blogger has officially announced that the lightbox image view has been implemented on all blogger blogs. When you click an image it opens up with a large transparent black frame around it, exactly the same way photos are displayed on your Google+ account when clicked.


While for some, this feature is an awesome improvement to how pictures are displayed, but for most bloggers users, this addition has caused problems. The blogger help forum is filled with complains by blogger users, demanding that this feature must be removed and others who see it as a bug in the blogger template.

Unfortunately blogger did not offer it as an opt-in feature. The problem with this addition is that images on a blog post don’t show up enlarged when clicked, as the way they showed up before the changes were made by blogger.

Until blogger address this issue, here is a work around by Mark from EnglishJavaDrinker that removes the lightbox affect.

To implement the code, simply head to:

Dashboard > Template > Edit HTML and find the </head> tag.

Now copy the code below and paste it right before </head>

<script type="text/javascript">
//<![CDATA[
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) {
  document.addEventListener('DOMContentLoaded',killLightbox,false);
} else {
  document.attachEvent('onDOMContentLoaded',killLightbox);
}
//]]>
</script>

Update: You can now simply head over to blogger settings and disable the lightbox option.

The option is available under 
Settings --> Posts and Comments --> Showcase images with Lightbox
How to Remove Or Disable Lightbox Image View From Blogger
How to Remove Or Disable Lightbox Image View From Blogger - written by test , published at 12:37 AM, categorized as blogging , Bloging Trick . And have 1 comment
1 comment Add a comment
prince arora

You have discussed an interesting topic that everybody should know. Very well explained with examples. I have found a similar website
lightboxes
visit the site to know more about sinking.
Reply Delete
Cancel Reply
GetID
Copyright ©2013 Make Money Online by
Theme designed by Damzaky - Published by Proyek-Template
Powered by Blogger
-->