Just place the file in any directory containing JPG, JPEG or PNG images to make a gallery.
Subdirectories will be handled as categories.
Thumbnails for images and directories are generated automatically. Description of galleries and images can be added by creating a simple .txt file with the description.
Single File PHP Gallery can also easily be included on existing pages.
What is new in this release:
- Added option to password protect the gallery. See the PASSWORD option for details.
- Added option to enable delete functionality. Directories, images and files can be marked and deleted from within the gallery. See the ADMIN option for details.
- Added option to sort images by date/time from EXIF aka when the image was take. See the IMAGE_EXIF_TIME option for details.
- Added function to allow file-preview images to be used for gallery thumbnails.
- Improved the option to use images as thumbs for files by extension. Setting $file_ext_thumbs is no longer needed, so the $file_ext_thumbs setting have been removed. See the ICONS_DIR option for details.
- Changed constant name SORT_NATURAL to SORT_ALL_NATURAL because SORT_NATURAL is already defined by PHP.
- Changed constant name DIR_IMAGE_FILE to DIR_THUMB_FILE because it is a more saying name. Also changed the default setting from '_image.jpg' to '_dir.jpg'.
- Changed the DATE_FORMAT parameters.
- Changing the DATE_FORMAT no longer require rebuild of DATA_ROOT to apply.
- Upgrading from a previous version of the script requires the contents of the DATA_ROOT to be deleted.
What is new in version 4.5.7:
- Added option to password protect the gallery. See the PASSWORD option for details.
- Added option to enable delete functionality. Directories, images and files can be marked and deleted from within the gallery. See the ADMIN option for details.
- Added option to sort images by date/time from EXIF aka when the image was take. See the IMAGE_EXIF_TIME option for details.
- Added function to allow file-preview images to be used for gallery thumbnails.
- Improved the option to use images as thumbs for files by extension. Setting $file_ext_thumbs is no longer needed, so the $file_ext_thumbs setting have been removed. See the ICONS_DIR option for details.
- Changed constant name SORT_NATURAL to SORT_ALL_NATURAL because SORT_NATURAL is already defined by PHP.
- Changed constant name DIR_IMAGE_FILE to DIR_THUMB_FILE because it is a more saying name. Also changed the default setting from '_image.jpg' to '_dir.jpg'.
- Changed the DATE_FORMAT parameters.
- Changing the DATE_FORMAT no longer require rebuild of DATA_ROOT to apply.
- Upgrading from a previous version of the script requires the contents of the DATA_ROOT to be deleted.
What is new in version 4.5.6:
- Added option to password protect the gallery. See the PASSWORD option for details.
- Added option to enable delete functionality. Directories, images and files can be marked and deleted from within the gallery. See the ADMIN option for details.
- Added option to sort images by date/time from EXIF aka when the image was take. See the IMAGE_EXIF_TIME option for details.
- Added function to allow file-preview images to be used for gallery thumbnails.
- Improved the option to use images as thumbs for files by extension. Setting $file_ext_thumbs is no longer needed, so the $file_ext_thumbs setting have been removed. See the ICONS_DIR option for details.
- Changed constant name SORT_NATURAL to SORT_ALL_NATURAL because SORT_NATURAL is already defined by PHP.
- Changed constant name DIR_IMAGE_FILE to DIR_THUMB_FILE because it is a more saying name. Also changed the default setting from '_image.jpg' to '_dir.jpg'.
- Changed the DATE_FORMAT parameters.
- Changing the DATE_FORMAT no longer require rebuild of DATA_ROOT to apply.
- Upgrading from a previous version of the script requires the contents of the DATA_ROOT to be deleted.
What is new in version 4.4.0:
- Added 3D MPO image extraction, with red/cyan Anaglyph image and stereo image generation options.
- Added option to set or disable the round corners on boxes.
- Fixed "Empty regular expression" warning from showing on some servers.
What is new in version 4.3.0:
- Added option to only show a set number of images.
- Added option to hide images older than a set number of days.
- Added option to delete images older than a set number of days.
- Added automatic clean-up function to have the gallery delete unused files in DATA_ROOT.
- Added option to enable simple PayPal integration with inventory counter for selling.
- Added option to show directory description inside the gallery using a new wider "thumb-box".
- Added option to change the icons/watermark directory.
- Added option to set an image to be used as thumb on all directories not containing images.
- Added option to have the watermark scaled to a constant fraction of the full size image.
- Added disabling of image navigation (buttons and keyboard), while loading image.
- Improved disk performance by adding check of name and/or description files before trying to load them.
- Improved JavaScript function to show full size image faster.
- Improved full size image load to avoid fading in the previous image.
- Fixed choosing of thumb for directories. Was an issue when using SORT_NATURAL, which is default.
What is new in version 4.2.0:
- Navigate the gallery using the keyboard
- Option to extract and show IPTC information
- Option to use regular expressions for excluding directories, images and files
- Option to use low quality thumb and preview generation, to save CPU usage on slow servers
- Added option to show information box by default
- Other improvements
What is new in version 4.1.1:
- Internet Explorer 9 fix
- SFPG 4.1.1 contains only one small fix, making large image download not break in Internet Explorer 9.
- EXIF extraction
- If available in image file, the following EXIF information will be shown: Date, Camera, ISO, Shutter Speed, Aperture, Focal Length and Flash fired.
- Rotation
- Option to automaticly correct orientation of images, with information from EXIF.
- Watermark
- Option to add watermark to all images in gallery.
- Thumbnail for non-images
- Option for adding custom default thumbnails for file types. This can be used to have a thumbnail/icon on non-image files like PDF, AVI, ZIP or any other.
- Dynamic size presentation
- Image and file size are shown as Bytes, KBytes, MBytes and so on.
What is new in version 4.1.0:
- If available in image file, the following EXIF information will be shown: Date, Camera, ISO, Shutter Speed, Aperture, Focal Length and Flash fired.
- Option to automaticly correct orientation of images, with information from EXIF.
- Option to add watermark to all images in gallery.
- Option for adding custom default thumbnails for file types. This can be used to have a thumbnail/icon on non-image files like PDF, AVI, ZIP or any other.
- Image and file size are shown as Bytes, KBytes, MBytes and so on.
Requirements:
- PHP GD library
- PHP write access to server
- PHP memory limit large enough to contain both full size image and preview/thumb (converted to BMP)
Comments not found