Skip to content

PhotoFrame - Bring life back to your forgotten iPad

License

Notifications You must be signed in to change notification settings

klausb/photoFrame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhotoFrame - Bring life back to your forgotten iPad

Documentation

PhotoFrame provides a simple web server and web-page to show a random photo sequence on a tablet/PC screen. It is not completely rando, as it does not repeat a photo before all have been shown. After that, it starts over and runs a new random series.

The web-page is intentionally kept simple to support even oldest iOS versions. Because of that, PhotoFrame can show photos on an iPad 1.

All image transformation is done on the server using the sharp library. In the UI, it shows a full-page image with a caption in the lower left corner. The caption shown is the folder name of the photo being shown.

To pause the slideshow, just tap on the screen. Tapping again continues it.

Build

If you run photoFrame directly:

npm install

To run it as container:

docker build -t photoframe .

Runnning

Run the server directly using node imageServer.js or use the Dockerfile to run it as container. At least map the photo directory and config file into the container:

docker run -d -p 9090:9090 -v <yourpath>/config.json:/app/config.json -v <photopath>:/photos photoframe

With that you can change the config and just restart the container.

On your tablet load the page on port 9090:

http://<host>:9090/

On an iPad, place the URL to the springboard to run it as a web-app. This removes the browser header and footer.

Photos change after 20 seconds. Feel free to change it in index.html.

Configure

You can configure basic file/directory filtering and the start folder to search for image files in configure.json:

{
    "includeFiles": [ ".*jpg", ".*jpeg" ],
    "includeDirs": [ ".*2020.*", ".*Sylt.*" ],
    "start": "/photos"
}

About

PhotoFrame - Bring life back to your forgotten iPad

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published