![]() |
March 16, 2010 |
|
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 HTML (HTM) pages. Please click here if you want to instal Hercules on PHP pages. New updates:
Previous
updates: Copyright (C) 2005
Wangchuk Sonam For newer version check http://www.phoenix.frihost.net/hercules/html.php
Example and 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_HTML.php. Use iframe and point SRC on it e.g: <IFRAME SRC="display2_HTML.php" SCROLLING="no" NAME="hercules" MARGINWIDTH="0"
MARGINHEIGHT="0" WIDTH="234" HEIGHT="60" FRAMEBORDER="no"> Don't forget set width and height on same dimension like in display2_HTML.php.
Instruction below is for data.txt users Put this script below on your HTML (HTM) page. <IFRAME SRC="display_HTML.php"
SCROLLING="no" NAME="hercules" MARGINWIDTH="0"
MARGINHEIGHT="0" WIDTH="234" HEIGHT="60"
FRAMEBORDER="no"> Next, open custom.php and customize Hercules Image Rotator according to your preferences. You will find additional instructions inside custom.php. Also it is necessary to put in upper iframe code the same dimensions for width and height like in 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:
3426 people have downloaded this script 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!
Other scripts:
One-page Gallery is a simple image gallery, which show your images with a JPG, GIF or PNG extension. One-page Gallery need only one page on your site, do all stuff dynamically in fly without data bases or thumbs. One-page Gallery is fully customized. Please contact us only about possible bug reports, comments or suggestions! |