Thumpy

0.0.4 Other/Proprietary License
  UNRATED

  156 downloads

A Python server for dynamically resizing, cropping, and otherwise altering images

description

download

specs

Thumpy is a Python web service that scales and crops images. It doesn't store anything. It's meant to be used as an origin server sitting behind a CDN such as Amazon CloudFront.

CONFIGURATION

Settings are stored in the settings.yaml file. They should include the name and access keys to your S3 bucket.

INTERFACE

Thumpy serves images using the same paths as their storage location on S3. Conversion parameters are specified in the query string, using an interface inspired by TimThumb. examples:

Scale the width to 200px, and the height proportionally:

http://mythumpyserver.somewhere/castle.jpg?w=200

Scale the height to 150px, and the width propotionally:

http://mythumpyserver.somewhere/castle.jpg?w=200

Specify both height and width:

http://mythumpyserver.somewhere/castle.jpg?w=200&h=150
read more   
Last updated on February 13th, 2012

#web service #resize images #crop images #web #service #image #resizing

0 User reviews so far.

SUBMIT