Skip to content
/ crops Public
forked from timhudson/crops

Server for dynamically resizing images on the fly

Notifications You must be signed in to change notification settings

mybethel/crops

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crops

Server for dynamically resizing images on the fly

Point at any valid file server and crops will stream the response through Graphicsmagick to the client. Crops sits well between an image file server and a CDN.

build status

install

With npm do:

npm install crops

Crops requires graphicsmagick so make sure that is installed

example

var crops = require('crops')

crops('https://npm-crops.s3.amazonaws.com/').listen(3000)
$ curl http://localhost:3000/image.jpg
$ curl http://localhost:3000/160x90/image.jpg
$ curl http://localhost:3000/400x220/image.jpg

license

MIT

About

Server for dynamically resizing images on the fly

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%