a decent UI for picturama gem
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
config
i18n
lib
public
views
.gitignore
.ruby-gemset
.ruby-version
Capfile
Gemfile
Gemfile.lock
LICENCE
README.md
Rakefile
config.ru
gulpfile.js
package.json
picturama.rb
unicorn.sample.rb

README.md

Picturama-ui

This is the UI client for picturama gem. Do you want to see a demo before continue? great! just click here

Installation

It's easy, you just need to clone this repo.

git clone git@github.com:aboyon/picturama-ui.git

Configure your settings...

Copy the config.sample.yml to config.yml (into the config/ file)

cd config/
cp config.sample.yml config.yml

and then proceed to adjust the settings

picturama:
  album_source: '/home/user/Pictures/some_folder/'
  allowed_formats: ['jpg','png','jpeg']
  thumbnail_prefix: thumb_
  thumnail_default_size: "200x200"

generate your thumbnails quickly, by using the rake task created for that

rake thumbnail:generate["/some/folder"] #you can specify a different folder...

and then you'll get an ouput like this:

Generating 30 thumbnails for folder /some/folder/ ...
Size: 200x200
Thumbnail generated from source 1.JPG. Target destination thumb_1.JPG
Thumbnail generated from source 2.JPG. Target destination thumb_2.JPG

Built with...

License

Please see licence file for further reading.