configuring-image-optimization

Community

Configure image optimization safely in Next.js 16.

Authordjankies
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Image optimization changes in Next.js 16, including remotePatterns, AVIF defaults, and SVG handling, require updated configuration patterns and security considerations.

Core Features & Use Cases

  • Updated remotePatterns, deviceSizes, and imageSizes for modern devices and performance.
  • Security considerations for SVGs (dangerouslyAllowSVG, CSP, and contentDispositionType).
  • Migration guidance for configuration changes and performance tuning.

Quick Start

Update Next.js image optimization config to reflect new defaults and patterns; validate SVG security settings and cache behavior.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: configuring-image-optimization
Download link: https://github.com/djankies/claude-configs/archive/main.zip#configuring-image-optimization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.