Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
On-demand image manipulation server in node.js
JavaScript
Branch: master
Pull request Compare This branch is 3 commits ahead of sdepold:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
config
public/stylesheets
spec
tmp
views
.gitignore
.travis.yml
CHANGELOG
MIT-LICENSE
Procfile
README.md
app.js
buster.js
package.json

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.