Introduction
ThePhig is an OpenSource php script created around the basis that creating an album of images should be as easy as uploading a directory of images. ThePhig supports the following features to help achieve this.
- Automatic thumbnail creation of images
- Easily customizable with CSS
- OpenSource allows for the modification of the underlying code if needed
- A password protected administration panel for modifying many of the settings of the gallery (such as name of the gallery, image titles, etc)
- The ability to create an album icon directly from the administration panel
- If cooridinates exist in the exif data, the ability to have the images displayed on Google Maps
- Easy to implement into an existing website
- Currently supporting three different image overlays: PrettyPhoto, FancyBox, and Shutter Reloaded
View the Demo
View the Admin Demo (username/password is admin/admin)
The Latest Changelogs
-
v3.0.9
- Fixed an issue where the cookie should have been escaped AFTER the database connection and not before
- Fixed "value" for theme selection
- Modified how inc/protect.php redirects to inc/login.php
- Modified how the image links are displayed to fix an animation issue with FancyBox
- Added an admin.css used only in the admin panel
- Added a resize ability. This will cut down on having to load large original size images, speeding up the gallery. This will require more processing time by PHP (Thanks to Oliver Wichert)
- Added the imageID in the alt of the current templates
- Added the variables $albumIcon, $albumLink, $originalImage, $resizedImage, $thumbnailImagefor use in templates
- Added htmlHead.php in templates for adding custom javascript, css, etc.
- Files Modified: admin.php, inc/includes.php, inc/protect.php, install.php, template/admin.css, template/darkum/albumEntry.php, template/darkum/imageEntry.php, template/default/albumEntry.php, template/default/imageEntry.php
Special Thanks to Oliver Wichert for the bug fixes/reports, suggestions, and code additions. Oliver provided great support during this versions
-
v3.0.8
- Closed an SQL injection exploit. Special thanks to Salvatore Fresta for the information (http://www.salvatorefresta.net/)
- Cleaned up the admin panel code a bit
- Added a template system, replacing the old css system. See http://www.thephig.com/forums/viewtopic.php?f=8&t=4 for theme specific information
- Added an imageID view for viewing specific images rather then a gallery, providing more information about the image (ie index.php?imageID=20). Opens possibility of comments in future
- Added a check if the gallery_images directory has no albums from the admin panel
- Fixed an issue with displaying the number of images per page and albums per page in the "General Administration" of the admin panel
- Fixed the tag search, was not correctly showing an action of self
- Fixed the value of the selected theme dropdown in General Administration
- Fixed AlbumsPerPage missing the > end of the tag
- Updated install.php so the user is not required to put in the gallery path, it is determined by the script itself
- Updated install.php to check for all database tables when installing instead of just 'thephig_albums'
- Files Modified: admin.php, gallery.php (now index.php), inc/includes.php, install.php, template/*
Important Note: This upgrade is renaming the main gallery file, gallery.php, to index.php. If you've modified index.php previously or have a pre-existing index.php file, you will need to backup the file