Fotopholder
Fotopholder is a PHP library used to easily generate webpages from folders of jpg images. Most other web gallery scripts out there require lots of setup or commitment. This script requires nothing. Just drop a single file into a directory full of images and presto, you will have a web gallery. This script will also parse nested sub-directories of images so you can organize your albums just by putting the images in folders.
View the demo
Version Information:
Jan 7, 2019 - Version 2.6
- Updated to run under PHP 7
Sept 15, 2006 - Version 2.51
- Added a fix for a small security flaw (unlikely to cause any harm)
Sept 11, 2005 - Version 2.5
- Added page navigation to top of page in addition to bottom of page
- Speed up under certain circumstances
- Fixed bug when sorting by date that would cause some photos to be invisible
- Fixed a security hole
- Added ability to view photos as a slideshow
- Fixed problem of backslahses in comments sometimes.
- Made the script easily localizable. If you translate it, please let me know.
August 20, 2005 - Version 2.4
- When you delete a photo on a multipage listing, you stay on that page
- Shows the ISO value if set in the EXIF
- From the admin panel you can now flatten subfolders into the current folder
- Allows you to turn off auto-rotation if it is causing problems for you
- Option to password protect viewing of your photos
- All your settings are stored in an external file now to make upgrades easier
- First time users get a nice walkthrough of the setup process
- You can sort folders and photos by modification date now
July 8, 2005 - Version 2.3
- Rotates thumbnail and screen sized images if the camera sets the orientation flag.
- Shows the Exif UserComment if it is set
- Ability to display large folders with multiple pages
- Mac OS X users can turn on SIPS image processing which will make image generation much faster
- Improved display speed (especially when you have large subfolders)
- Fixed bug with & and " in a folder's name
- You can now create a zip archive of an entire folder up so it can be downloaded all at once
- Folder and photo counts now include all of its subdirectories
- Misc bug fixes
February 17, 2005 - Version 2.2
- When the permissions are set wrong, it now displays a better error message.
- Sorting of folder names and filenames is now case insensitive.
January 25, 2005 - Version 2.1
- Bug fix for leaving comments on a photo
- Can now regenerate a photo's cached assets
- Next and Previous buttons dont bounce around anymore when navigating
January 16, 2005 - Version 2.0
- XHTML compliant with better configurability via CSS stylesheets
- Fixed small security vulnerabilities
- You can now attach comments and ratings to photos
- You can move a folder upwards in the directory tree
- If you have friends with fotopholders, you can now link to them from yours
- It will notify you when there is a new version of this software for download
- When you login to the admin tools you now stay on the page where you were
- When you rename a folder or file you now stay on that page
- Icons for next and previous links as well as rating star
- Reduced possibility for name clashing with folder names and cache folders
July 6, 2004 - Version 1.9
- Fixed a bug with the extra information display when the exif library is not installed
- Option to hide the file extension in filenames
June 14, 2004 - Version 1.8
- Added option to not have an intermediate screen sized image
- Fixed bug where vertical pictures looked chunky
- Removed all PHP Notices that were printed if they were turned on in your php.ini
- Previous and Next buttons to browse through details pages
- Added focal length to the extra information that is displayed
- Fixed an error message when an image had no extra info
- Option to turn off extra info in the detailed view of a photo
- Can now recognize images that do not have a proper file extension
- If a folder has only subfolders, little folder icons are displayed in the directory view
- Fixed a bug that broke folders or photos with a + in the filename
- Option to truncate the length of long filenames.
- Admin tools for managing your photos which is password protected
- You can delete and rename photos and folders.
- Option to automatically delete tiny images (old thumbnails from another gallery script, perhaps)
- Option to automatically delete empty folders
- Option to generate the entire cache all at once
May 7, 2004 - Version 1.7
- Screen sized images now have navigation back to the folder
- Option to show the filename of each photo under the thumbnail
- Shows the number of subfolders inside a folder
- Can now display png images.
- Folder icon is now cached and higher quality
- Placed link to fotopholder at the bottom of the page
- Fixed html bug that probably nobody noticed
- Details page now shows some information about the photo, if available
- Added a "more..." link when a subdirectory contains more pictures
Apr 21, 2004 - Version 1.6
- Added an option to have thumbnails cropped or padded to a square
- Added better error messages for incorrect permissions
- Added the ability to turn on/off writing to the cache
- Made the body_background_color variable work
- Fixed a bug that occurred when you clicked on a tiny thumbnail
- Clicking a thumbnail now takes you to the screen size version of it
- Screen sized images no longer have padding to make them square
- Added sorting to the filenames and directory names
- Automatically invalidates the cache if the source image changes
Jan 20, 2004 - Version 1.5
- Reworked the entire project so its just one php file instead of several
- Moved the cached thumbnails to a separate cache directory so its easier to remove this script when you dont want it anymore.
- Made it work a little bit when permissions are messed up.
- Provided better error messages
- Made things prettier :)
June 3, 2003 - Version 1.0