0.0.0-beta1 • Published 10 years ago
quick-gallery v0.0.0-beta1
quick-gallery
quick-gallery is an easy way to browse galleries of pictures organized from the file system.
It aggressively uses a cache based on the file system. The cache will store thumbnails and resized pictures. Both can be generated on the fly, from a command line utility or from the webapp.
quick-gallery has been built to works on Raspberry Pi.
quick-gallery is available from npm, by this way the installation and configuration is easier.
Dependencies
quick-gallery uses imagemagick for pictures resizing.
Install
npm -g install quick-galleryConfiguration
From npm config
npm -g config set quick_gallery_port 80
npm -g config set quick_gallery_adapted_max_width 800
npm -g config set quick_gallery_adapted_max_height 600
npm -g config set quick_gallery_thumbnail_max_width 150
npm -g config set quick_gallery_thumbnail_max_height 150
npm -g config set quick_gallery_pics_dir /media/usbdisk/Pictures
npm -g config set quick_gallery_cache_dir /media/usbdisk/gq_cache
npm -g config set quick_gallery_imagemagick_path /usr/binFrom environment variables
EXPORT QUICK_GALLERY_PORT=80
EXPORT QUICK_GALLERY_ADAPTED_MAX_WIDTH=800
EXPORT QUICK_GALLERY_ADAPTED_MAX_HEIGHT=600
EXPORT QUICK_GALLERY_THUMBNAIL_MAX_WIDTH=150
EXPORT QUICK_GALLERY_THUMBNAIL_MAX_HEIGHT=150
EXPORT QUICK_GALLERY_PICS_DIR=/media/usbdisk/pictures
EXPORT QUICK_GALLERY_CACHE_DIR=/media/usbdisk/gq_cache
EXPORT QUICK_GALLERY_IMAGEMAGICK_PATH=/usr/binFrom command line variables
qg-server --port 80 --adapted_max_width 800 --adapted_max_height 600 --thumbnail_max_width 150 --thumbnail_max_height 150 --pics_dir /media/usbdisk/pictures --cache_dir /media/usbdisk/gq_cache --imagemagick_path /usr/binqg-cache-builder --port 80 --adapted_max_width 800 --adapted_max_height 600 --thumbnail_max_width 150 --thumbnail_max_height 150 --pics_dir /media/usbdisk/pictures --cache_dir /media/usbdisk/gq_cache --imagemagick_path /usr/binServer
npm -g start quick-galleryor
qg-serverCache builder
qg-cache-builder0.0.0-beta1
10 years ago

