How to save 90% of your Imgix monthly invoice


Self hosted, using Imgproxy Docker container:

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

Optimize/Resize images using Next.js:

import Image from 'next/image'

<Image src="/profile-picture.jpg" width="400" height="400" alt="Profile Picture">

Alternatively, fully managed SaaS:


Let’s run the numbers with some use case scenarios:



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store