Standalone Website Viewer for Media Directory e.g. show Holiday Media files on mobile Devices in your local WLAN, served by a Raspberry Pi Supports Images / videos (mp4, 3gp, webm, via HTML5 video tag) see https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats Browser: IE: 9.0+ Chrome: 4.0+ Firefox: 3.5+ Safari: 4.0+ Opera: 10.5+
The project consists of a Website and a script for image preparation.
Before using the gallery, you have to process all of your images that will be part of your gallery with the node.js script. The processed images will be stored to your applications assets. During runtime everything runs client-side and there is no separate server-side communication involved. The viewer takes care that an optimal image quality is served based on the device resolution.
based on https://github.com/BenjaminBrandmeier/angular2-image-gallery
TODO
Install node 6.9.4+ and graphicsmagick: http://www.graphicsmagick.org/README.html#installation
convert.js path/to/your/media/basedir
Add a flag to define the order of the images inside the gallery
-n
sort by file name (default)
-d
sort chronologically by the original creation time (e.g. for coverages of a wedding)
-c
sort by primary image color
TODO
TODO
- Angular 2.3.1
- NodeJS 7.3.0
- Angular-CLI 1.0.0-beta.24
- graphicsmagick
If the conversion process fails, make sure you have enough swap space provided.
If you experience any other issues, please raise an issue on GitHub.