Before we had posted that it is necessary to optimize images in blogger for getting traffic or increasing your site SEO. Now this time we have another trick by that you don't have to remember to optimize your images it can Automatically Add Alt Tag And Title Tag In Images For Blogger. This trick will give you huge traffic because all your images have been optimized using this trick, you don't need to optimize single-single images. And also this trick will reduce your site error. By the way its not a trick its a simple script only just you have to add or install it in your blog.
Many bloggers are sharing this script but most of them script was not working. I have the working script used by me.
And if you don't know what is title tag and alt tag than your can first read out this :- Optimize Images In Blogger To Increase Blog Traffic.
You just have to give your image a correct name in your PC.
Name your image according to your post keyword or your post title.
Step 1: Login to your Blogger dashboard >> Navigate to template section.
Step 2: Backup your template first before adding this script.
Step 3: Now click on "Edit HTML".
Step 4: PressCtrl + F and search for </body> tag.
Step 5: Copy the below script and paste it just above </body> tag.
Step 6: Click on Save template.
That's it. Now your blogger images will automatically optimize according to your images name. This Automatically Add Alt Tag And Title Tag In Images trick will be very useful for your blog to increase traffic. Now it's your turn share this and give some credit to our blog by adding our site link. Because you know we trust in Sharing is Caring :-).
Many bloggers are sharing this script but most of them script was not working. I have the working script used by me.
And if you don't know what is title tag and alt tag than your can first read out this :- Optimize Images In Blogger To Increase Blog Traffic.
How this Auto Alt and Title adding script Works ?
It is an simple java-script which reads your image name (Uploaded through PC).You just have to give your image a correct name in your PC.
Name your image according to your post keyword or your post title.
How to add auto alt & title tag script in blogger ?
Follow below guide to apply this trick.Step 1: Login to your Blogger dashboard >> Navigate to template section.
Step 2: Backup your template first before adding this script.
Step 3: Now click on "Edit HTML".
Step 4: Press
Step 5: Copy the below script and paste it just above </body> tag.
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
//SEO SCRIPT By - TechiMonk.com
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('img').each(function(){
var $img = $(this);
var filename = $img.attr('src')
$img.attr('title', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
$img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
});
});
//]]>
</script>
Step 6: Click on Save template.
That's it. Now your blogger images will automatically optimize according to your images name. This Automatically Add Alt Tag And Title Tag In Images trick will be very useful for your blog to increase traffic. Now it's your turn share this and give some credit to our blog by adding our site link. Because you know we trust in Sharing is Caring :-).
Thanks bro ,i am looking for these script and visited thousands of sites but did not work any script .Hope these help me to add alt tag to all images.
ReplyDeleteThis is wonderful information, Thank you sharing this. Web Designing Companies Bangalore | Web Design Companies Bangalore
ReplyDeleteThis comment has been removed by the author.
ReplyDeletethis is greats..thanks man.
ReplyDelete