dotGallery

Description

dotGallery is a simple php script which quickly turns a directory of pictures into a gallery. Thumbnails are generated automatically using imagemagick and stored to file to cut down on processing time. Unlike many other php gallery scripts this one can be easily incorporated into your existing php pages using includes. Also this script has few dependencies, since it calls imagemagick through a system call it does not need php imagemagick libraries.

Download

Version .1

Installation

  1. install imagemagick, and make sure its can be run by php through sys call (`` function).
  2. make a directory under webroot which is writable my php.
  3. copy all the contents of this folder to your gallery dir (including hidden files) except for the readme.
  4. open index.php and adjust the $path and $url variables on lines 28 & 29.
  5. drop pictures into this dir, and voila gallery is ready.

Adding picture description

say you have a pic 5A.jpg to which you want to add a description.
  1. make a file named .t5A.jpg in the same dir.
  2. for the first line of file type in the picture title.
  3. for the second line of file type in a detailed description.

Adding subgallery/folder description

  1. Add a file to the dir called .txt
  2. for the first line of file type in the folder/subgallery title.
  3. for the second line of file type in a detailed description.