An HTML and hand-rolled Javascript photo frame - just pass it a file with the list of images
A photo frame app that can be used by any browser.
Create a JSON file like this:
{
"images": [
{"url": "https://example.com/image.jpg"}
],
"timeout": 5000
}
The images must have a url
, and
can have a caption
, which will be used in place of the URL
if the user activates captions (see keybindings).
Open html-photo-frame with the JSON file's URL as
a parameter: https://example.com/photo-frame/index.html?json=slides.json
docker build --tag html-photo-frame/dev-webserver:latest --file docker/webserver.Dockerfile .
docker run --rm -ti --volume $PWD:/app --publish 9080:9080 html-photo-frame/dev-webserver:latest
Create a file conf.json
with the list of photos to view.
http://localhost:9080/?config=conf.json
Run tests with
docker-compose --file cypress/docker/docker-compose.yml --project-name html-photo-frame run --rm cypress