Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Express/Connect middleware for creation of thumbnails on the fly
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Readme.md
package.json
thumb-express.js

Readme.md

Use Case

<a href="img/myimage.jpg"><img src="img/myimage.jpg?tn=150"></a>

Example: http://art.gazette.gr/work

Installation

$ npm install thumb-express

Examples

var rt = require("thumb-express");
...
app.use(rt.init(path.join(__dirname, 'public')));
app.use(express.static(path.join(__dirname, 'public')));


http://mydomain.com/myimage.jpg // full image
http://mydomain.com/myimage.jpg?tn=250 // 250px wide resized image

Dependencies

Depends on imagemagick

Credits

This a chopped verison of quickthumb with elements from from node-gallery (or vice versa)

Something went wrong with that request. Please try again.