Public | Automated Build

Last pushed: 5 months ago
Short Description
A deployable image resizing and serving service written in Node.js
Full Description

Pantograph is Goldbely's image resizing and serving service powered by jimmynicol's image-resizer. It's configured to work with S3 and Heroku out of the box.

Heroku serving

Simply create a new Heroku app, set the environment variables, and deploy.

You may need to add Heroku specific environment variables that are not included in the .env.example:



The app does not do any image caching at all. Because of this it is recommended to place your production app behind a CDN. We use AWS's CloudFront.

Local image serving

For using Pantograph with local development.


Clone the repo to your machine and then:

docker-compose up

Change any settings in the docker-compose.yml file to suite your needs.

Default Image

The .env has a IMAGE_404 variable that should be set as a path to an image relative to your base URL.

When using S3 the path is relative to the bucket root.

When using Local the path is relative to LOCAL_FILE_PATH.

Always make sure the IMAGE_404 is set as the plugin code isn't very fault tolerant to that not existing yet.

<a href=""><img src=""></a>

Docker Pull Command
Source Repository