Overview

Ani-Gallery is a simple, unobtrusive script used to display graphics in a simplistic way. No need for databases or file systems. Just upload and go!

What's New in Version 0.6

  • Thumbnail Watermark: give your thumbs a special touch with a watermark that has a stroke around it.
  • Thumbnail Displaying:: now with more divmania
  • Re-Cache Method: easily re-cache all of your files!

Example

Since seeing is believing, and the fact some people have requested it. I have a live demo open.

Live Demo

DGN Resource

How to Use

Part 1 - Setup

  1. Unzip the archive to your folder where your gallery is to be located such as: gallery/
  2. Chmod thumbs/ to 777 - This is where all thumbnails will be held.
  3. With Ani-Gallery all you have to do is dump a folder full of images and go, also you can sort them like so:
    • gallery/
      • gallery/nature/
        • gallery/nature/Trees/
        • gallery/nature/Flowers/
  4. Open up config.php and move onto step Configuration

Part 2 - Configuration

After opening config.php you should see the basic configuration of the folder. If you don't understand what they mean here is the basic meanings of each file:

  1. General Settings
    • $gallery_name - The name of your gallery
    • $gallery_ver - Just the version of the script. Plays no actual role in visibility.
  2. Gallery Settings
    • $gallery_url - Change to the url location of your aniGallery. If not changed some parts of your gallery won't work.
    • $gallery_dir - Do not touch this if you do not know what you are doing. Honestly.
    • $gallery_mainname - This is the default home directory will be named.
    • $gallery_relative - Change this to 0 only if the gallery folders are not relative to the install directory. If you don't understand this leave as 0.
  3. Filtering
    • $gallery_allow - This is an array of all the image types allowed. If you find that one you use isn't there add it.
      • Extended: To add one, At the end of the array add: ,"file extesion" It would look like this: array("the array","file extesion");
    • $gallery_disallow - This Filters all folders for instances of these words. If you don't want a folder to show up add it to this array.
  4. Thumbnail Sorting
    • $gallery_tpr_number - How many thumbnails per row.
    • $gallery_sortmode - Descending is 1, And Ascending is 2. Default: 2
  5. Thumbnail Creator Settings
    • $gallery_folder - YOU HAVE TO CHANGE THIS OR THE THUMBNAILS WONT WORK.
    • $gallery_imgwidth - Width of the thumbnails Default: 125
    • $gallery_imgheight - Height of the thumbnails Default: 125
  6. Thumbnail Watermark Settings
    • $gallery_show_watermark - Show watermark on thumbnails. Off: 0 On: 1 Default: 1.
    • $gallery_watermark - Watermark Text to be shown on thumbnails
    • $gallery_to_x - "Watermark Text" Offset x variable.
    • $gallery_to_y - "Watermark Text" Offset y variable.
  7. Gallery Password
    • Change this password as soon as you configure config.php
    • The password is used with the re-cache method. To use this simply go to a folder that contains images or type it in like so: gallery/index.php?dir=./Foldername&recache=1&password=thepasswordyouset
    • Wait a few seconds until the page finishes loading. Look at the loading bar at the bottom or top of the screen to make sure then browse to the folder that you just set in queue for new thumbs. Enjoy.
  8. Gallery Configured?
    • $gallery_config - The script will not work if you do not set this to 1 Why? Because, Its to make sure you've edited it.

Download

Changelog

Support

I'm having some errors with the script!
Any questions should be asked here: aniGallery Post
Can I display flash, video, or other content using the script?
Sorry, aniGallery does not support flash, or any video related content at this moment.
Can I use the script in a commercial project?
Yes, you may. However, you may not sell this script. A donation would be nice if you are using this in a commercial project. ;)

Donate

If you're feeling generous, consider a donation. Any and all PayPal donations are sincerely appreciated. I worked hard to make this script. :P