Add Auto Image ALT Tag Generator for Blogspot Blogger
Hope all our provision related to blogging tips and search engine optimization help you to create enhanced blogging platform. In this post I have a best plugin for your blogspot (blogger) blog for better image optimization which generate and add automatically alt tag and index all your blog images in most used search engines i.e Google Yahoo and Bing. As I have seen there are so many blogger who still don’t know how to optimize blogger image with alt tag and unaware from how to apply it. Use of Alt tag is for giving an alternative text/name to your image to inform search engine crawlers / spiders / robots about particular image and article related to it and generate more organic traffic which you have already lost because of images without alt tags.
Previous Articles for Blogger Hack.
Add Auto Image ALT Tag Generator for Blogspot Blogger
As I have mentioned above what I am going to share with my visitors it is Auto Image ALT Tag Generator for Blogspot Blogger for increasing SEO factors and achieve optimization score. This plugin/script will generate and add Alt Tag attribute for all blog images. Check How to Add this Plugin in Your blogger.
Go to Blogger Dashboard
Template >> EDIT HTML >> Search for </head> (closing head tag) and add the following jQuery Script above the closing head tag
Add the following jQuery codes before
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
Note :- If you have already installed the jQuery Plugin don’t add it leave this step and just follow the next step.
<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>
Copy the Above Code /Script/Plugin and Add between the <body> code </body> tag
When you complete the above step simply save the template from the save template button. The script/plugin will automatically generate Alt attribute tags for all your blog images which will short and clear.
Bottom Lines
For any further assistance for image alt tag generator plugin, feel free to ask by replying in the comment section. Hope you will like it and add it in your blogger blog. Regards.
Comments