Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gallerby

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gallerby

  • 0.1.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

gallerby

Think about a dead-simple static gallery generator, with nothing except pictures, thumbnails, previews. A kind of server directory listing for pictures. Enter Gallerby!

An example of a gallerby-generated gallery can be found here.

Installation

Classic!

(sudo) gem install gallerby

Usage

Before building your gallery, you have to respect this kind of "directory model" :

name_of_my_gallery/ <---- This is where you gallery will reside. originals/ <---- This is where you have to put your pictures. thumbnails/ <---- This is where Gallerby will create thumbnails for you. previews/ <---- This is where Gallerby will store "middle-sized" versions of your pictures for Lightbox.

When your directory is ready :

gallerby -d directory_of_my_gallery

Wait, and tada!

Moar Usage

If I was an asshole, i'd say you to RTFM. So :

$ gallerby -h gallerby - frakin' dead simple gallery generator

Usage: gallerby -d [directory] [options]

Options are: -d, --directory DIRECTORY Directory of the Gallery -n, --name [NAME] Name (optional, default to directory) -s, --summary [SUMMARY] Summary (optional, default empty) -p, --per-page [PER_PAGE] Pictures to display per page (default is 20) -h, --help RTFM, dude!

Updating

You can re-run gallerby to an existing gallery. It'll skip thumbnails & previews creation if files already exists.

Currently, no parameters are stored (like custom name, description, pictures per page). It's planned.

Copyright (c) 2010 Waine Kerr.

Released under the terms of the MIT license, see LICENSE for details.

Please note that other software is included in gallerby and may be released under others licenses:

  • Prototype, Copyright (c) 2005-2010 Sam Stephenson
  • script.aculo.us, Copyright (c) 2005-2010 Thomas Fuchs
  • Lightbox, by Lokesh Dhakar

FAQs

Package last updated on 14 Feb 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc