Past Kim spent a great many years failing to upgrade PHP on $server, because it was running Gallery 1 - an unimpressive but functional web photo-gallery program from the early 2000s that had the killer feature of storing the images in a hierarchical filesystem, with sensibly-named files for thumbnails and metadata and such. This seemed like a good insurance policy against the software itself becoming obsolete.
And lo, it came to pass that it got re-written to use a SQL database. And then it got re-written again. And then it got abandoned, and resurrected, and abandoned again. Thereby proving Past Kim's point.
So, having forced the upgrade issue, I'm left looking for a sensible solution for archiving and displaying photographs. And struggling to find anything entirely satisfactory.
It needs to be free and run in a Linux VM, preferably with as little Dependency Hell as possible. Obviously it needs to store the data in a way that will outlive its codebase: Hierachy good, single directory of files with sequential names bad, proprietary database unacceptable. It would be nice if images could be uploaded and sorted from a browser, but equally, dropping them into a directory on the server's filesystem by some other means is also useful. Some permissions system for who's allowed to see what would be useful. Being able to scroll through the albums quickly and efficiently is highly desirable. And being able to link to image files directly. That sort of thing. Beyond that, I'm not too interested in wanky features, and would like to keep the learning curve and unisex spaceadministry to a minimum.
Any ideas? So far I've tried:
- Gallery3 - Appears to have no future.
- Piwigo - Pretty good, but fails to store images hierarchically if they're uploaded via the web interface.
- Photoview - A slick, simple viewer, with curating the image files left as an exercise for the reader. Requires docker-related contortions to run.
I'm also giving serious consideration to just bunging static files on a web server, perhaps with something like Darktable's HTML export function to prettify them as albums where relevant.
Anyone got any clever ideas? Owncloud/Nextcloud seems to come up a lot, but it's looks well into hammer-to-crack-a-walnut territory.