Responsive PHP Gallery with directory listing and slideshow for photographers using Lightroom.
Built by me and ChatGPT.
The files are in Hungarian, but you can change it as you like.
If PHP is not yet installed on your web server: https://www.php.net/downloads.php
Search parameters:
- file: - filter by filename
- date: - filter by date
- creator: - filter by creator name
- camera: - filter by camera model
- subject: - filter by subject name
- gps: - filter by GPS coordinates
- rating: - filter by picture ratings
- & - join several parameters
- "" - search for exact match
- * - wildcard
- # - between (only in date and rating column)
- > - greater than (only in date and rating column)
- < - smaller than (only in date and rating column)
index.php -->
- lists .jpg and .mp4 files from your directory with EXIF data (if available)
- reads the name of the parent directory
- search option (including search parameters)
- opens .jpg files in slideshow view
- press 'L' or the download button to make a .zip archive of your directory
- press 'K' or the slideshow button to view your pictues in a gallery
- press the "backspace" key to go to the previous page
- press the "enter" key to focus the search input
- press the "esc" key to defocus the search input
- press the "tab" key to reset the search input
slideshow.php -->
- makes a slideshow from your .jpg files in your directory
- reads the name of the parent directory
- press arrow keys or the buttons to change image
- press 'L' or the button to download the current image
- press 'G' or the button to reveal the gallery
- press 'I' or the image to reveal the EXIF info
- press the "backspace" key to go to the previous page
download.php -->
- converts the .jpg and .mp4 files from your directory to a .zip archive and downloads it (only files that are resulted in search)
- press the "backspace" key to close the page