01/08/10
Shakey
tags:   ,

Making The Most Of Your Traffic Part 2 – Images


Often overlooked by many webmasters is the traffic your images can bring in.

Labelling images correctly
The filename of the image should be a keyword and every image should be labelled correctly with alt tags containing a keyworded description of what the picture is.

<img src=”/pics/teen-sex-01.jpg” alt=”Big Cock Teen Sex” />

Google images
When somebody does a Google Image search and clicks on your pic your site will come up with a frame at the top containing a clickable thumb of your image which most surfers will just click on to view the fullsize image and they’re done. What we want to do is break your site out of this frame so the surfer is forced to scroll through your page, increasing the chance they click on one of your ads through to a sponsor.

Just add this in the <body> of your site.

<script language=”JavaScript” type=”text/javascript”>
if (top.location != self.location) top.location.replace(self.location);
</script>

Hotlinked images
Unless you’ve already done something to prevent hotlinking of your images chances are that anybody can just hotlink your images on their own site, forum, or anywhere surfers share pics. Rather than allowing this wouldn’t it be nice to show a pic with your own url on it? Just add this to your .htaccess

RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://(.+\.)?mysite\.com/ [NC]
RewriteCond %{HTTP_REFERER} !^$
RewriteRule .*\.(jpe?g|gif|bmp|png)$ /hotlinked.jpg [NC,R,L]

Just replace mysite with your own site and /hotlinked.jpg with your own image.

Never leave open directories
There’s many surfers that will find themselves looking at a picture at http://mysite.com/gallery-name/img/pic-01.jpg and will try to navigate their way to http://mysite.com/gallery-name/img/ to get at all the pictures in that directory. Search engines can even index open directories. Don’t let them in! Add an index.php file in there with a redirect to your main page.

<?php
header(‘Location: http://page-to-redirect-to.com’);
?>

I hope that’s a few tricks you can implement on your sites and maybe squeeze a few extra $$$ out of them :)

Leave a Reply