Skip to content



GitHub · Bugs Report

Backers on Open Collective Sponsors on Open Collective Build Status Codecov License Latest Stable Version]

The Flyimg project is a Dockerized application that allows you to resize, crop, and compress images on the fly. One Docker container to build your own Cloudinary-like service.

By default, Flyimg generates the AVIF image format (when the browser supports it) which provides superior compression compared to other formats.

Additionally, Flyimg also generates the WebP format, along with the impressive MozJPEG compression algorithm to optimize images, other formats are supported also such as PNG and GIF.

How it works:

Fetch an image from anywhere; resize, compress, cache and serve...and serve, and serve, and serve...

You pass the image URL and a set of keys with options, like size or compression. Flyimg will fetch the image, convert it, store it, cache it and serve it. The next time the request comes, it will serve the cached version.

<!-- -->



Check out our demo page where you can test and review Flying's features:

Star History

Star History Chart

Cloud Run Button

Flyimg can be deployed to GCP as a serverless container in one click with Cloud Run Button:

Run on Google Cloud

How to transform images

You go to your server URL and append /upload/; after that you can pass these options below, followed by an underscore and a value w_250,q_50 Options are separated by coma (configurable to other separator).

After the options put the source of your image, it can be relative to your server or absolute: /

So to get a pretty kitten at 250 pixels wide, with 50% compression, you would write. <img src=",q_50/">

Demo Application running,h_250,c_1,o_jpg/




See the file for a list of companies / organisations that are using Flyimg.


A special thanks to JetBrains for supporting our project with their open source license program.



This project exists thanks to all the people who contributed to it ❤

Backers & Sponsors

Support us with a monthly donation and help us continue our activities.[]


The MIT License (MIT). Please see License File for more information.

Enjoy your Flyimaging!