--> Make Clickable Images In Blogger with Fade Effect | Experience Lab - Online business creation and development guide for bloggers and startups

Make Clickable Images In Blogger with Fade Effect

Most of you requested a tutorial on how to make images clickable in blogger posts, sidebars and footers so the tutorial today will not only ...

CLICKABLE-IMAGEMost of you requested a tutorial on how to make images clickable in blogger posts, sidebars and footers so the tutorial today will not only teach you that but will also share the beautiful trick of adding the fading effect to the images i.e. the images will fade on mouse hover. So lets get things done!

 

 

 

How to make an image clickable?

The complete clickable image code looks like this,

<a href="LANDING URL" target="_blank"><img src="IMAGE LINK" width="" height=""  alt=""  title="" border="0" /></a>

 

  • Where refers to where will the image take the user when it is clicked.
  • Where IMAGE LINK refers to the URL of your picture
  • width="" and height="" has to be given proper values in pixels
  • alt="" is alternative text tag that you right to tell search engine robots what the image is about
  • title="" is the name of the image that appears on mouse hover. It is always kept the same as the alt=""
  • border="0" ensures that no border or outline appears across the image

For example for the image below I have used the following code,

<a href="http://www.mybloggertricks.com" target="_blank"><img src="IMAGE LINK" width="240px" height="180px"  alt="Clickable Koala image" title="Clickable Koala image" border="0" /></a>

 

clickable Koala image

When you click the image, it will take you to our homepage. Else if you want to link to the original size of image then use this code,

<a href="IMAGE LINK" target="_blank"><img src="IMAGE LINK" width="240px" height="180px"  alt="Clickable Koala image" title="Clickable Koala image" border="0" /></a>

Clicking the image below will show you its original size.

Koala

 

How to make the same image un-clickable?

To make any image un-clickable simply remove the href linking tag. After removing the landing address tag we get,

<img src="IMAGE LINK" width="" height=""  alt=""  title="" border="0" />

You will see that the image is no more clickable. and the code I used this time is the same one but without the href tag,

<img src="IMAGE LINK" width="240px" height="180px"  alt="unclickable Koala image" title="unclickable Koala image" border="0" />

 

unclickable Koala image

 

How to make an image fade in and fade out?

For this you will need to add a tiny CSS3 code to your template. So kindly follow these steps,

  1. Go To Blogger> Design > Edit HTML
  2. Backup your template
  3. Search for ]]></b:skin>
  4. Add the code below just above it

 

/*---MBT FADE OUT CODE ----*/

.Fadeout img {
filter:alpha(opacity=100);
opacity: 0.3;
border:0;
}
.Fadeout:hover img {
filter:alpha(opacity=30);
opacity:1.0;
border:0;
}

/*---MBT FADE IN CODE ----*/

.Fadein img {
filter:alpha(opacity=30);
opacity: 1.0;
border:0;
}
.Fadein:hover img {
filter:alpha(opacity=100);
opacity:0.3;
border:0;
}

 

 

 

    5.  Save your template.

 

Now whenever you wish to add the fading effect to your image then simply insert an additional code to the same Clickable image code that we discussed above.

To make the image Fade out simply insert class="Fadeout" to your image code like this,

<a class="Fadeout" href="LANDING URL" target="_blank"><img src="IMAGE LINK" width="" height=""  alt=""  title="" border="0" /></a>

 

See an example below. (Hover your mouse cursor on it)

Koala fade out

 

To make the image Fade in simply insert class="Fadein" to your image code like this,

<a class="Fadein" href="LANDING URL" target="_blank"><img src="IMAGE LINK" width="" height=""  alt=""  title="" border="0" /></a>

 

See an example,

Koala fade in

 

 

I hope you find it useful. If you wanted to know where to save your images or to get IMAGE Links then read this post,

If you want to learn more image effect then I am sure you would love these tuts,

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,9,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,16,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Make Clickable Images In Blogger with Fade Effect
Make Clickable Images In Blogger with Fade Effect
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCkuTCVMyoGUVBVbvI0GLpC3n0tFpCaH4eIO6yno4grAutUeQNsyu1VpI2woMI7TPGiOWkLUwLuNFj46qWF96ntoEwY95Iw_lEVD028z3ZIjpKZXgQnl_K5twYZwHE2hcUVSP6YOuDdlM/?imgmax=800
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCkuTCVMyoGUVBVbvI0GLpC3n0tFpCaH4eIO6yno4grAutUeQNsyu1VpI2woMI7TPGiOWkLUwLuNFj46qWF96ntoEwY95Iw_lEVD028z3ZIjpKZXgQnl_K5twYZwHE2hcUVSP6YOuDdlM/s72-c/?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2011/06/make-clickable-images-in-blogger-with.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2011/06/make-clickable-images-in-blogger-with.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy