Sabtu, 03 Februari 2018

How to optimize blog images for seo and easily ter index by search engines

What is seo and what is important for your blog seo?

Seo is short for search engine optimization and seo is also very important to increase the visit, on your blog,

The function of this is to keep the images you publish, instantly indexed by search engines, and make it easier for people to search for keywords, through image search

In this case we will lakkan is the addition of a script on your own blog his way is very easy.

  1. Log in to your blogger
  2. Temlate
  3. Edit html
  4. and search code </body>
  5. then paste the code below before the code </ body>
  6. And save
<script type='text/javascript'>
//<![CDATA[
$(document).ready(function() {
$('img').each(function(){
var $img = $(this);
var filename = $img.attr('src')
$img.attr('alt', filename.substring((filename.lastIndexOf('/'))+1, filename.lastIndexOf('.')));
});
});
//]]>
</script>
<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('.')));
});
});
//]]>
</script>
<script type='text/javascript'>
//<![CDATA[
var scrollTimer = null;
$(window).scroll(function() {
var viewportHeight = $(this).height(),
scrollbarHeight = viewportHeight / $(document).height() * viewportHeight,
progress = $(this).scrollTop() / ($(document).height() - viewportHeight),
distance = progress * (viewportHeight - scrollbarHeight) + scrollbarHeight / 2 - $('#scroll').height() / 2;
$('#scroll')
.css('top', distance)
.text(' (' + Math.round(progress * 100) + '%)')
.fadeIn(100);
if (scrollTimer !== null) {
clearTimeout(scrollTimer);
}
scrollTimer = setTimeout(function() {
$('#scroll').fadeOut();
}, 1500);
});
//]]>
</script>

And let it take 1x48 hours


EmoticonEmoticon