<a href="img/myimage.jpg"><img src="img/myimage.jpg?tn=150"></a>
Example: https://art.gazette.gr/work
$ npm install thumb-express
var rt = require("thumb-express");
...
app.use(rt.init(path.join(__dirname, 'public')));
app.use(express.static(path.join(__dirname, 'public')));
https://mydomain.com/myimage.jpg // full image
https://mydomain.com/myimage.jpg?tn=250 // 250px wide resized image
Depends on imagemagick
This a chopped verison of quickthumb with elements from from node-gallery (or vice versa)