Overview

EasyGallery scans a folder on your webspace for images and displays them in a web-gallery. Thumbnails are created automatically, so you just have to upload your files.

EasyGallery uses the SlimBox 2 poject.

Example


EasyGallery
IMG_001.jpg
IMG_002.jpg
IMG_003.jpg
IMG_004.jpg
IMG_005.jpg
IMG_006.jpg
IMG_007.jpg
IMG_008.jpg

INSTALLATION

  1. Create a folder on your webspace and copy the EasyGallery files and your image folders there.
  2. You're done. Open EasyGallery.php in a browser. Thumbnails are created the first time you open a gallery.

Download

View Changelog

Support

How can I use EasyGallery on my Website?

You can include EasyGallery to your website by adding <?php include("yourpath/EasyGallery.php"); ?> into your code. Copy the slimbox folder to the location of your website. Remember to change the .html file ending into .php and the $root_dir variable in EasyGallery.php
What do I need to run EasyGallery?

You need a Webserver with at least PHP 4 installed. Furthermore the GD library is required for thumbnail creation. You can check your PHP version by calling <?php phpinfo(); ?>.
My webserver doesn't provide the GD library. Can I use EasyGallery anyhow?

Yes, but you will have to generate your thumbnails manually before using the gallery. Add a thumbnails directory to each of your album folders and for each pic_x.jpg create a thumbnail tn_pic_x.jpg in this folder. Many image processing programs provide the possibility to automate this process, like for example Irfanview.
My image folders are located in another folder.

Change the $root_dir variable in EasyGallery.php.
Can I change the number of thumbnail columns?

Yes, change the $columns variable in EasyGallery.php.
The Thumbnails blur to the lower right corner.

Remove the <DOCTYPE> tag at the beginning of your document and use <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> instead.
Can I use the script in a commercial project?

The script is free software. You can redistribute or modify it under the terms of the gnu public license.