matrioska

command module
v0.0.0-...-610bc07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2014 License: MIT Imports: 10 Imported by: 0

README

Matrioska

A thumbnails generator server.

Installation

go get github.com/pilu/matrioska

Usage

PUBLIC_PATH=/path/to/images matrioska

If you have an image like:

http://localhost:7000/foo.png

You can request a thumbnail with:

http://localhost:7000/foo-300x250.png
Geometry format
  • WIDTHxHEIGHT
  • WIDTHx
  • xHEIGHT
Options

Options are taken from env variables. Defaults are:

  • PUBLIC_PATH (./public)
  • GEOMETRIES ("*")
  • PORT (7000)
  • HOST (127.0.0.1)
Restricting valid geometries
GEOMETRIES="200x300, 500x, x200" matrioska

Author

Andrea Franz (http://gravityblast.com)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL