Tuesday, 02 Dec 2008 09:24 AM

Untitled Document
Untitled Document

Get your regular dose of "A Moment Of Sharing" and FREE gifts NOW, because you deserve...

Email:
Name:


WWW IMC

Contact Us
Manifesto
About Nelson
A Moment Of Sharing
Blog
FREE Website Tools
Resource Articles
Shop At ClickBank
Link With Us!
Ethiclinks
Gotlinks
Linkdash
Linkslister
Telalinks
Interlink Exchange
LinksNow
Receive Links


You Are Here: Home > Resource Articles > Site Development > Article

 

Untitled Document

 Top Picks for Tuesday, 02 Dec 2008

The Random Image Rotator

 

The Image Rotator is an easy way to make an image on your website change every time a visitor reloads the page. The Rotator picks a randomly selected image from a folder you specify and displays it to your visitors.

 

The script figures out which image files are available for rotation all by itself, so you're free to add or remove images as you please, without the need to edit the script or a configuration file.

 

Instructions

 

To start using the Rotator, just follow the steps below.

 

Check the Requirements

 

In order to use the Rotator, your site must be hosted on a server that supports PHP (version 4.2 or newer). If you're unsure, it's best to ask your hosting provider if they have PHP before you move ahead.

 

Download the Source

 

Download the latest version of the script and unzip the file (it should decompress into a file named rotator.php).

 

Upload the Script

 

To start using the Rotator, just upload the script to your server using your favorite FTP program. Put the script in the same folder as the images you would like for it to rotate.

 

Note: If you'll be placing the script in another folder, you'll need to modify the $folder setting in the configuration section before you upload (read the Instructions section in the script for more information).

 

Test It

 

The easiest way to test if the script is working is to open it in a web browser. Just enter the path to the script in your browser's Address field, for example: http://example.com/images/rotate.php

 

Link It

 

You can now link to the file as you would any normal image, like this: <img src="http://example.com/rotate.php">

 

Each time you reload your webpage, the image will change.

 

For More Information

 

To learn even more about the Image Rotator, check the article written by Automatic's founder, Dan Benjamin for A List Apart Magazine.

 

Use of this software implies that you have read and are bound by the License Agreement.

 

Extracted from Automatic.

 

 

Comment
Tell A Friend
Print
Bookmark
Main Section

 

 

Hot Recommendations
 

Internet Mastery Center Blog
Watch the latest StomperNet video. Explore more resources at StomperNet. Share and Enjoy: Giveaways seeking JV Partners! Take Action Now! Member Downloads Available Profit Work From Home Fair Rainbow Giveaway Viral Marketing Giveaway 12 Auto Pilot Cash Streams MyLadyWeb’s Free Gift Giveaway Pack Rat Giveaway: End December 4th. Health Giveaway: Ends December 10th. Shop4Bizness Giveaway: Ends December 14th. Merry Christmas Giveaway: Ends December 30th. Christmas Greetings Giveaway: Ends December 30th. Mr Matco’s Autumn Event: Ends December 31st. Learn The Internet Stage 2: Ends December 31st. Keep Christ In [...] Access new turnkey websites with resell rights. Would you like to get something month after month for a one-time payment? The Newbie Startup gives anyone exactly what they need to start building a business online without having to spend hundreds on outsourcing. The perfect turnkey startup package delivered every month without fail! You get: * A complete turnkey website designed for collecting e-mails, inclusive of [...] Increase Your Website Traffic Through Article Marketing Owning, running, and maintaining an Internet based business or a website need articles. Plain and simple, everyone who has a site knows this. Even those who don’t have sites but are frequent Internet users know this as well. Articles quench people’s thirst for information. And articles of all possible topics are being searched every minute; [...] This is the way to make 6 figures from Amazon! What are the vast majority of U.S. day-to-day online searches looking for? (a) Info Products     (b) Real Products What have the vast majority of US affiliates (your competition) overlooked? (a) Info Products     (b) Real Products What are 90% of the online population of the USA going to be searching for in the run up to Christmas? (a) Info Products     (b) [...]
Thought Of The Moment

 

Untitled Document

Copyright © Internet Mastery Center. All rights reserved. | Site Map | Anti-Spam Policy | Terms Of Use | Privacy Policy