Support

Random Image

Once The Random Image Display program has been successfully installed on your website, you will need to perform three steps. 

Please follow the directions outlined in the next three steps to ensure your Random Image Display works on your website.

STEP ONE

Copy and paste the following HTML below into each HTML page that you want to have a random image displayed.

<!--#include virtual="/cgi-bin/ranimage.cgi"-->

STEP
TWO

After you have copied and pasted the HTML into your pages, now you need to change the extension of every page that includes this HTML from a .html or .htm file to a .shtml extension. In other words, if you have an HTML page named index.html that uses this random image display, then you need to rename the file to include the .shtml extension.

The reason this step is necessary is so the server knows to interpret a server-side include within the document. This is a line of code that the server must execute and place in your HTML file before someone views the document.


FINAL STEP

When you install Random Images on your account, you specify a directory to contain the images to display when you use the Random Images code. You must now upload the images to be displayed into this directory. You can upload GIF or JPG image files, and the program will randomly select from all of the image files within this directory, regardless of the number of files it contains.

TIPS

 

When using the random image program, it is best to use images of the same height and width. This will ensure that any image selected by the program will be the same size.

The program places an image tag in your HTML document. This image tag has no border and does not specify a height and width. The alternate text displayed is just the name of the image selected. For example, lets say you have 20 images in your random image directory and the image sky.jpg is selected. Assuming you specified the directory randomimage as the directory to contain your images, the line below would be the line of code displayed by the program:

<IMG SRC="/randomimage/sky.jpg" ALT="sky.jpg">

Do not put more than 1,000 images in your ranimage directory, as this will greatly slow down the program and have a negative impact on the load time of your website.


Below is an example of your random image display

Reload this page to view another random image


[an error occurred while processing this directive]



 

Home   Web Hosting   Web Design   Ecommerce   Support   Contact Us
Search   Site Map   Privacy   Acceptable Use   Terms & Conditions

Copyright © 2003 Studio Deluxe International. All rights reserved