Hercules Image Rotator
v.1.08 SS Hercules Image Rotator is a PHP script, which rotates your images/banners with a JPG (JPEG), GIF, or PNG extension from any location. This is instalation guide for PHP pages. New updates:
Previous
updates: Please click here if you want to instal Hercules on HTML (HTM) pages. Copyright (C) 2005
Wangchuk Sonam For newer version
check http://www.phoenix.frihost.net/hercules/read_me.php Features: 1. Multiple rotators on one page with different rotation times Installation: Instruction for users with installed Hercules: NOTE: If you like multiple rotators on your page just follow instruction for new users from point 1. and leave your old data and seting intact. Instruction for new users: Extract hercules.zip in root folder. 1. in datas folder create new txt file. Chose your name for this file e.g. secondrotator.txt and fill data (follow instruction below for data.txt) 2. Open display2.php and in line 4, 5, 6,7 and 8 set your preferences for data, width, height, rotation time and image displaying - random or by order. With first definition you will tell to Hercules which file he must grab from datas folder. It is not necessary to put full name of data file (security reason) but be careful don't use two names with same part of string e.g.: fifthrotator.txt and fourthrotator have same string in theirs name. If you use throt for data definition Hercules will always find same data file. We recommend longer definition but not full file name. 3. Save display2.php. Use include function on your page and point on it e.g: <?php NOTE: 2. New feature (image displaying - random or by order) is not very usefull on less number of images. 3. New users don't need to use data.txt. This data file stay intac for old Hercules users but if you like to use it you can. In that case you must define preferences in custom.php.
Put this script below on your PHP page. <?php Next, open custom.php and customize Hercules Image Rotator according to your preferences. You will find additional instructions inside custom.php. Data.txt is divided in three columns and separated with | (color is only for effective demarcation). The first column is for images PATH; the second is for the target URL, and the third column is for ALT. First column for images PATH is most important You don't need to define the other two if you don't want target URL and ALT. A few examples are given below: /my_photo1.png If you use hyperlinks for accessing images, don't start the first column with "/". You need to type the full image URL. An example is below: http://www.my_site.com/images/my_image108.gif
/images/my_photo1.gif|/index.php If the target URL is a hyperlink, don't start the second column with "/". An example is below: /images/my_photo1.gif|http://www.mysite.com/index.php Also, it is not necessary to define ALT column if you don't want ALT.
/images/photo1.gif|/somefolder/photos.php|My
photos in 2005.| For a better-looking ALT, it is preferable that the third column ends with "|". Also if you want ALT without the target URL, simply leave the second column empty. An example is given below: /images/photo1.gif||Phoenix free PHP scripts.| NOTE:
If you use Hercules Image Rotator and would like to help us please rate it, place a link to us on your website or refer to us in one of good webmaster's forum. Thank you!
|