Re:Self-hosted, super simple photo stream
by rjeand on Wednesday March 11, 2020 @10:23AM
(#22546062)
As for the 'linux picture viewing application', I've started using the mpv video player[1] for showing a local gallery of photos and videos. Text is added as subtitle files, such as SubRip .srt files[2]. Image-specific options can be configured in mpv, such as the "image-display-duration"[3].
[1] https://mpv.io/ [2] https://en.wikipedia.org/wiki/SubRip [3] https://github.com/occivink/mpv-image-viewer/blob/master/mpv...
Re:Self-hosted, super simple photo stream
by mceachen on Wednesday March 11, 2020 @12:47PM
(#22547271)
EXIF has a well-adopted Comments tag (if you edit the comments on Windows, it'll show up under XPComments). You can pull them out with exiftool, and using -j renders output as json. If you want cross-platform support, auto-install of exiftool, better parsed results, and typescript typings, you can use https://github.com/photostructure/exiftool-vendored.js (which I extracted from PhotoStructure and open-sourced).
Re:Self-hosted, super simple photo stream
by davefp on Wednesday March 11, 2020 @09:33AM
(#22545652)
This is built using Jekyll, which has built-in support for both categories and tags (for blog posts, anyway) via yaml front-matter: https://jekyllrb.com/docs/posts/#categories-and-tags
That might be more involved than you want, but given the structure of this project I don't know of a better way.
I wish (hope?) something simple like this is supported in a linux picture viewing application, and I just don't know which one it is. Can a line or two of text be stored in an EXIFish field? Has someone already written a script to take care of this?
But back to the main point - this is a great app and I can see myself using it to share photos with friends and family. Thanks for making it :)