This script is a simple gallery that shows all images that are located in the script's directory and subdirectories. Script creates thumbnails in "thumbz" folder if those doesn't exist allready. Using JPEG and PNG file types! No database needed, no admin script, upload images via FTP.
By : manijak
This script is a simple gallery that shows all images that are located in the script's directory and subdirectories. Script creates thumbnails in "thumbz" folder if those doesn't exist allready. Using JPEG and PNG file types! No database needed, no admin script, upload images via FTP.
REQUIREMENTS?
1. Computer. 2. Webserver(IIS and Apache are tested). 3. PHP 4 or higher. 4. GD 2 or higher.
INSTALLATION:
Unpack those files to some folder containing image files on your webserver.
Edit "config.php" to fill your needs as: Title, number of pictures per page, location and name of *.css file, etc.
Then you just go: Ex: http://localhost/pictures/index.php
SOME WORDS ABOUT SCRIPT:
Thumbnails size table : 1. Original less then 150px (width) thumb = orginal. 2. Original more then 150px (width) and less then 650px thumb is original / 6. 3. Original more then 650px (width) and less then 1200px thumb is original / 8. 4. Original more then 1200px (width) thumb is original / 12.
OBS! Those values can be changed in thumbz.php file.
If you'r good with CSS you can mail a CSS styles to: fuad.sabanovic@Gmail.com
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.