- Install
go
if you haven't so far- Mac (homewbrew):
brew install go
- Ubuntu:
sudo apt-get install golang-go
- Other: https://golang.org/doc/install#install
- Mac (homewbrew):
- Install imageproxy
- Using standalone installation:
go get willnorris.com/go/imageproxy/cmd/imageproxy
go build willnorris.com/go/imageproxy/cmd/imageproxy
- copy resulting binary to where you want to execute it
- run
PATH/TO/EXECUTABLE/imageproxy
- Using go binary installation:
go get willnorris.com/go/imageproxy/cmd/imageproxy
- ensure
$GOPATH/bin
is in your$PATH
- then run the proxy using
imageproxy
- Using standalone installation:
- By default imageproxy will run on port 8080 (try open http://localhost:8080)
If you don't want to use imageproxy set the PYGENO_CDN_IMAGEPROXY_URL
environment variable to e.g. ''
. All images will be used with their original URL and size then.
If you need more information got to: https://github.com/willnorris/imageproxy