How To Remove Anchor Links When Adding Images to your blog

When you add an image into your blog,it has a link(anchor link). When you click on the image, you will be directed on a page that only displays the image. For example, click the image below to better understand .

This image has a Anchor Link(Blogger Default feature);


HTML Code of the above image :

<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglQszUFsHisJEp06RxDyG82kwgWE31l7SKC5ceHCG-yJt-eP0OrFEsL6ZCVE51U9jfYFiq_WCnoyyMm-n9NoQzQUOLqIwqDQrAtnQNu7uW1ZBcHUTTD3AbkpymzPOO5n-rJ9I5Rv6urf0/s1600-h/FeedBurner-256x256.png"><img style="cursor: pointer; width: 256px; height: 256px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglQszUFsHisJEp06RxDyG82kwgWE31l7SKC5ceHCG-yJt-eP0OrFEsL6ZCVE51U9jfYFiq_WCnoyyMm-n9NoQzQUOLqIwqDQrAtnQNu7uW1ZBcHUTTD3AbkpymzPOO5n-rJ9I5Rv6urf0/s400/FeedBurner-256x256.png" alt="" id="BLOGGER_PHOTO_ID_5338188022278360402" border="0" /></a>

If you want to remove Anchor Link of your image you must remove below parts of the above code.

<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglQszUFsHisJEp06RxDyG82kwgWE31l7SKC5ceHCG-yJt-eP0OrFEsL6ZCVE51U9jfYFiq_WCnoyyMm-n9NoQzQUOLqIwqDQrAtnQNu7uW1ZBcHUTTD3AbkpymzPOO5n-rJ9I5Rv6urf0/s1600-h/FeedBurner-256x256.png">

And

</a>

Now final code look like this.

<img style="cursor: pointer; width: 256px; height: 256px;" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEglQszUFsHisJEp06RxDyG82kwgWE31l7SKC5ceHCG-yJt-eP0OrFEsL6ZCVE51U9jfYFiq_WCnoyyMm-n9NoQzQUOLqIwqDQrAtnQNu7uW1ZBcHUTTD3AbkpymzPOO5n-rJ9I5Rv6urf0/s400/FeedBurner-256x256.png" alt="" id="BLOGGER_PHOTO_ID_5338188022278360402" border="0" />

Now click on the picture below.It hasn't a Anchor Link.


It should not be clickable anymore.

1 comments:

midn said...

Replica Watches uk, combining elegant style and cutting-edge technology, a variety of styles of replica rolex pearlmaster watches, the pointer walks between your exclusive taste style.

Post a Comment

 

Support By Blogger