next-export-optimize-images

Optimize images at build time with Next.js.

24 articles 475 View on GitHub ↗
24 articles
How the next-export-optimize-images CLI Performs Image Optimization

Discover how the next-export-optimize-images CLI optimizes images through configuration loading, manifest building, and parallel processing with Sharp and smart caching for efficient image optimization.

internals
Feb 28, 2026
How to Limit Concurrent Image Processing in next-export-optimize-images with `processingConcurrency`

Control concurrent image processing in next-export-optimize-images by setting the processingConcurrency option. Optimize your build times effortlessly.

how-to-guide
Feb 28, 2026
How to Configure `remoteImagesDownloadsDelay` for External Images in next-export-optimize-images

Learn to configure remoteImagesDownloadsDelay in next-export-optimize-images to prevent CDN rate limiting. Add a pause between external image downloads during static exports.

how-to-guide
Feb 28, 2026
How to Configure Automatic Downloading of Remote Images in next-export-optimize-images

Learn how to configure automatic downloading of remote images in next-export-optimize-images by defining the remoteImages option in your export-images.config.js file. Optimize your workflow today.

how-to-guide
Feb 28, 2026
How to Implement a Custom sourceImageParser for Image Paths in next-export-optimize-images

Learn to implement a custom sourceImageParser for image paths in next-export-optimize-images. Transform image URLs for CDNs and custom structures by intercepting paths before optimization.

how-to-guide
Feb 28, 2026
How to Use `generateFormats` to Create Multiple Image Formats (WebP, AVIF) in Next.js

Learn how to use generateFormats in Next.js to automatically create and serve WebP and AVIF image formats for faster load times. Optimize your images effortlessly.

how-to-guide
Feb 28, 2026
How to Configure Format Conversion (convertFormat) in next-export-optimize-images: PNG to WebP Guide

Learn how to configure PNG to WebP format conversion with next-export-optimize-images. Add convertFormat to your export-images.config.js for optimized image generation.

how-to-guide
Feb 28, 2026
How to Apply Custom SharpOptions for Different Image Formats in next-export-optimize-images

Learn to apply custom sharpOptions for various image formats like PNG, JPG, WebP, and AVIF in next-export-optimize-images using format-specific settings in your config file.

how-to-guide
Feb 28, 2026
How to Define a Custom Filename Generator in next-export-optimize-images

Learn how to define a custom filenameGenerator for next-export-optimize-images. Control optimized image file naming with a custom function in export-images.config.js for precise control.

how-to-guide
Feb 28, 2026
How to Adjust the Image Quality in next-export-optimize-images: Complete Configuration Guide

Learn to adjust image quality in next-export-optimize-images. Configure the quality setting in export-images.config.js for optimal image compression using Sharp.

how-to-guide
Feb 28, 2026
How to Specify a Directory for Downloaded External Images in next-export-optimize-images

Learn how to set the externalImageDir option in your export-images.config.js to specify a custom directory for downloaded external images during your next export.

how-to-guide
Feb 28, 2026
How to Set the Base Path for Optimized Images in Next.js

Learn to set the basePath for optimized images in Next.js by configuring next.config.js and next-export-optimize-images for correct URL resolution at build and runtime.

how-to-guide
Feb 28, 2026

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →