1.0.3 • Published 4 years ago

imgproxy-companion v1.0.3

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

imgproxy companion

The purpose of this simple script is to easily integrate https://github.com/imgproxy/imgproxy into applications.

<script src="https://unpkg.com/imgproxy-companion@1.0.3/cdnscript.js"></script>
<script>
  window.imgProxyInit({
    domain: "http://localhost:8080",
    offset: 200
  });
</script>

Above will work if you started imgproxy with:

docker pull darthsim/imgproxy:latest
docker run -p 8080:8080 -it darthsim/imgproxy

And offset option is self-explainable.

In production, remember to set caching for resulting images.

1.0.2

4 years ago

1.0.3

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago