A world of golf, golf travels, golf courses, golf equipment, golf clubs, golf hotels, golf tours, golf training, golf resorts, golf comix, golf cartoons, .
World golf courses, African golf courses, Asian golf courses, European golf courses, North American golf courses, Oceanian golf courses, South American golf courses, Golf courses in USA
The idea behind this PHPImageGallery is, that it should be as easy to maintain and update as possible.
That includes adding new images to an existing archive or creating an entire new archive.
The PHPImageGallery are freeware, hence it can be downloaded and used for free on non-commercial pages, if the conditions stated below are meet.
The PHPImageGallery are created by John Christensen for www.kanongolf.dk. Copyright 2005 John Christensen, www.kanongolf.dk. The copyright will only be taken in to effect if the
conditions stated below are not uphold.
Download and Install:
To download the PHPImageGallery simply right click on the link below and save it to your hard disc. But before you download it, please support us, by clicking on one of the adds on this page.
New in version 1.1:
Archives in menu can be sorted alphabetical or by creation date.
Pictures in picture index can be sorted alphabetical or by creation date, both natural order or reversed.
Install the PHPImageGallery and upload the whole directory structure to your server.
Start the PHPImageGallery by accessing the file "
PHPImageGallery.html" located in the top directory within the downloaded structure.
If you haven't changed anything in the structure or files, you should see an PHPImageGallery like the one on www.kanongolf.dk, but with only 3 archives in it. That is if your server meets the requirements specified below.
Conditions:
There are only a few minor conditions to WEB-page designers that wish to use the PHPImageGallery.
- The copyright messages in each of the files must not be removed or changed.
- The reference to www.kanongolf.dk shown in the text frame, when no image text are available, must not be removed or changed.
- The WEB-page on where the PHPImageGallery are placed, must be a non-commercial page.
- The WEB-page on where the PHPImageGallery are placed, must include a banner with a link to www.kanongolf.dk. Like the one shown below.
To add the above banner, use these lines:
<a href="http://www.kanongolf.dk" target="_top">
<img src="http:\\www.kanongolf.dk/ads/Menu/banner_kanongolf.gif" border="0">
</a>
How to use:
To add image archives simply upload a directory with images in the existing
gallery directory. Like the archive
Duff and Hack in the example.
The name length of the new image archive must not exceed 20 characters.
To add new images in an existing archive just upload the new images to an existing archive.
Note! The archive and image names may not hold any special characters.
In both cases that should be enough. The PHPImageGallery will find both new images and new archives by it self.
If you want to add texts to your images, just create a text file like
Duff and Hack.php, with exactly the same name as the archive, in the
gallery directory.
Remember that both the text file and the image names in the text file are case sensitive.
Directory structure:
The directory names and filenames marked in red color in the PHPImageGallery structure must not be changed.
| phpImageGallery |
- PHPImageGallery.html
- config.php
- top_start.php
- top_code.php
- menu.php
- img_index.php
- start.php
- DagensComix.html
- img.php
- downloadCode.php
- configuration.php
- text.php
|
|
|
Image Galleri start page.
Gallery configuration file.
Top left frame start page.
Top left frame arhive code page.
Bottom left frame menu code.
Bottom left frame thumbnail index code.
Top right frame 'Start page'.
Top right frame 'Comix of the day' page.
Top right frame image code.
Top right frame 'Download code' page. This page.
Top right frame 'Gallery configuration' page.
Bottom right frame text code.
|
|
- code |
- DisableSelectText.js
- getVarFromURL.js |
|
Common include file.
Common include file.
|
|
- gif |
- *.* |
|
Gif file used in the gallery |
|
- phpThumb |
- *.* |
|
Thumbnail generator from phpThumb() |
|
- cache |
- |
|
Used by Thumbnail generator for caching thumbnails. Must not be deleted. |
|
- gallery |
- Buck Brown |
- *.gif - *.jpg |
Gallery image files.
Gallery image files.
|
|
|
- Duff and Hack |
- *.gif - *.jpg |
Gallery image files.
Gallery image files.
|
|
|
- Duff and Hack.php |
|
Image text file. |
|
|
- Eddy Kett |
- *.gif - *.jpg |
Gallery image files.
Gallery image files.
|
Technical description:
The PHPImageGallery is highly dynamically in several ways.
- It automatically locates and generates start buttons for any archives placed in the "gallery" directory. In addition the archive can be marked if the archive contains any images uploaded within the last 30 days.
- It automatically locates and creates thumbnails for any images in each of the archives. Any new images are marked as new if they are uploaded within the last 30 days.
- Generated thumbnails are placed in cache and deleted if not accessed within the last 30 days. This is the reason for the empty cache directory in each of the archives.
There are a few configuration options in the
config.php located in the main directory:
- Maximum image height and width.
This sets the maximum size of the individual images if they are larger than the allowed size.
- Enable show new images.
This enables the menu function that detects new images in the archives.
Requirements:
There are a few requirements to the server where your WEB-page are placed.
- The server must support PHP version 4+.
- The server must support GD version 1.6+.
However GD version 2+ will give thumbnails of a better quality.
Other pages from KanonGolf.dk






|