express-thumbnail0.2.4 • Public • Published
Express thumbnail is a Express framework middleware for creation of thumbnails on the fly. It automatically creates a thumbnails by adding query parameters onto a image url.
This module use lwip, which didn't require external runtime dependencies for image processing. It means you don't have to install anything else on your system.
$ npm install express-thumbnail
var express = ;var expressThumbnail = ;var app = ;...app;
rootDir path to images root directory.
options (optional) an object of options. Available options:
cacheDirThe location where converted images will be stored. Default is