Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

On-demand image manipulation server in node.js

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Description

This app is a demonstrator for the node-imageable middleware.

Get it run

First of all, create a config/config.json. You might just want to copy the config/config.example.json. Afterwards run npm install. Finally start the server via node app.js.

And ... what's next?

Open your favorite browser and run:

http://localhost:3000/resize/magic?url=http://www.google.com/intl/en_ALL/images/logo.gif&size=200x200

For further information take a look at the node-imageable documentation: https://github.com/sdepold/node-imageable

Gimme code, dude!

git clone git://github.com/sdepold/node-imageable-server.git
cd node-imageable-server
cp config/config.example.json config/config.json
npm install .
node app.js

# you can also do sudo PORT=80 NODE_ENV=production node app.js

Fallback solution

If you need a fallback solution for (whyever) failing resizer apps, you can checkout the fallback branch. This app just redirects all requests to the url param.

Authors/Contributors

Something went wrong with that request. Please try again.