Skip to main content

NGINX Automatic Image Conversion: WebP and AVIF


by Danila Vershinin, April 5, 2026

Learn how to automatically convert and serve WebP and AVIF images in NGINX using the ngx_immerse filter module. This module transparently intercepts image responses from any source – static files, proxy_pass, or FastCGI – and converts them to modern formats based on browser support. No URL rewriting, no separate service, no application changes needed.

Read More...

NGINX Small Light Module: Dynamic Image Transformation Guide


by Danila Vershinin, March 23, 2026

Learn how to use the NGINX small light module for on-the-fly image transformation. This guide covers installation, configuration, performance tuning with JPEG hinting, and production deployment strategies for dynamic image resizing, format conversion, and optimization.

Read More...

MozJPEG as drop-in replacement for libjpeg in CentOS/RHEL and Amazon Linux


by Danila Vershinin, March 10, 2019

How to use the more efficient JPEG encoder, MozJPEG, instead of the default, on CentOS/RHEL and Amazon Linux systems

Read More...

Install jpegoptim powered by MozJPEG on CentOS/RHEL or Amazon Linux


by Danila Vershinin, March 9, 2019

Crunch your JPEG furthermore using jpegoptim bundled with the MozJPEG power!

Read More...

NGINX JPEG Filter Module: Watermarks On-the-Fly


by Danila Vershinin, November 10, 2018

Install and configure the NGINX JPEG filter module to add watermarks, logos, and visual effects to JPEG images on-the-fly. This module operates in the DCT domain for lossless overlay operations, making it ideal for dynamic image branding on photography sites, e-commerce platforms, and content delivery systems.

Read More...