Displaying Ranking Images

Introduction

The image.php script can be used to display banners on your member sites that show their current rank. You can set it up to only display the rank on the banners for the top few sites, or you can have it show the rank for all sites in your database. As an example, say you have a site that is ranked #3 on your list. You can then provide special HTML to this member so that a banner or button will appear on their site with a number 3 on it. Of course, you will be able to include other things on the banner/button like information about your site.

Preparing for Use

To prepare for using image.php, you need to decide how many images you want to display the site's rank on. Keep in mind that you will have to create a separate banner for each of the banners with a ranking number on it, so you probably don't want to go too high on this. For our example, we will say that the top 5 ranked sites will have images on their site displaying their rank - all other sites will display the same image, but without their current rank.

Once you have decided on a number, you need to enter it in the 'Ranking Images' field of the Edit Options interface. For our example we would enter 5 in this field.

Now you need to create the banners/buttons that will be displayed on your member sites. Currently the software only supports GIF images for your banners/buttons. For the banner/button that will be displayed on sites where the rank is not on the image, name this file standard.gif. For the other images with the rank on them, name them 1.gif, 2.gif, etc where the number in the filename matches the number on the image.

Once all of your images have been created, upload them to your server to the directory that corresponds with the Banner URL you entered in the Edit Options interface. This is the final thing you need to do to prepare for usage.

Providing Link Syntax To Your Members

Providing the link syntax for your members to use is pretty straightforward. All you need to do is link an image tag to the URL that they should send hits to. An example of how to do this is listed below. Of course, you can customize this to fit your needs.

<a href="##Tracking_URL##"><img src="##Image_URL##"></a>