Next.js 16 changes next/image: priority deprecated, default quality and sizes shifted
An article tested the next/image upgrade from Next.js 15 to 16 in a fresh project on Next.js 16.5.0 and React 19.3.1. It found that the priority prop still works but is deprecated, and that using it together with preload breaks next dev with a 500 error. The default quality list now only allows 75, so quality={90} is coerced to 75 unless images.qualities is configured. The default imageSizes no longer includes 16, which causes w=16 requests to return 400 errors. Cache-busting query strings on local images now fail the build unless a localPatterns entry is added, and that setting also acts as an allowlist for all local images.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in