How f13dev/photo-archive works
Photo Archive is a PHP folder-based gallery: visitors choose an image folder, browse paginated image thumbnails and folder previews, and open full images in a lightbox. The main page scans image folders, generates missing resized thumbnails, and renders gallery links; the bundled Colorbox handles image viewing and navigation. README also describes FTP uploading, but the available tree and excerpts show no upload implementation, so it is not mapped. Evidence is limited to the README and sampled excerpts; styling and unshown behavior are not expanded.
Main entry points: index.php Gallery page · jquery.colorbox.js Colorbox viewer · images Image folders · thumbs Thumbnail files
Components 13
Gallery browsing
- Gallery page
index.php - Folder browsing
index.php - Image pagination
index.php - Image metadata
index.php - Thumbnail generation
index.php
Image viewing
- Colorbox viewer
inc/jquery.colorbox.js - jQuery library
- Gallery styling
inc/style.css - Lightbox styling
inc/colorbox.css
Gallery data
- Image folders
images - Thumbnail files
thumbs
Other components
- Gallery visitor
- Web browser
Connections 18
- Gallery visitor → Gallery page: requests gallery
index.php - Gallery page → Folder browsing: renders folders
index.php - Gallery page → Image pagination: renders pages
index.php - Gallery page → Image metadata: reads metadata
index.php - Gallery page → Thumbnail generation: creates missing
index.php - Folder browsing → Image folders: scans folders
index.php - Folder browsing → Thumbnail files: reads previews
index.php - Image pagination → Image folders: scans images
index.php - Thumbnail generation → Image folders: reads originals
index.php - Thumbnail generation → Thumbnail files: writes resized
index.php - Gallery page → Thumbnail files: renders thumbnails
index.php - Gallery page → Colorbox viewer: configures viewer
index.php - Colorbox viewer → jQuery library: uses
inc/jquery.colorbox.js - Web browser → Gallery page: displays
index.php - Web browser → Colorbox viewer: opens images
- Gallery page → Gallery styling: loads stylesheet
index.php - Gallery page → Lightbox styling: loads stylesheet
index.php - Colorbox viewer → Image folders: loads selected image