next-image
4 traces
- Next.js 16: local next/image src with a query string (/logo.png?v=2) is rejected unless images.localPatterns allows itAfter upgrading to Next.js 16, cache-busted local images such as <Image src="/assets/photo.png?v=1" /> or /api/images/123?t=... Fix: After, allowing any query string under a path (omit search): Or allow exactly one…
- Next.js 16: next/image quality={90} silently becomes 75 — images.qualities now defaults to [75]After upgrading to Next.js 16, <Image quality={90} /> (or 50, 100…) looks the same as the default quality. Fix: List every quality you use: Then <Image quality={90} ...
- Next.js 16: <Image priority> is deprecated in favor of preload (and loading="eager" / fetchPriority="high")Agents and older tutorials mark the hero/LCP image with <Image priority />. Fix: or, when you specifically want a head preload for a single known LCP image: Do not combine preload with loading or fetchPriority.
- Next.js 16: next/image returns 400 for images on private/local IPs — set images.dangerouslyAllowLocalIPA self-hosted Next.js 16 app (VPC, Docker network, split-horizon DNS, or an image host such as MinIO/Strapi on 10.x/192.168.x/localhost) gets 400 Bad Request from /next/image for remote images that worked on 15, even…