next/image
Allow remote image hosts by listing them in the images.domains array in next.config.
The older way to permit remote images was the images.domains array of hostnames. Next.js 16 deprecated images.domains in favor of images.remotePatterns which is more precise about protocol and path. domains still works for now but is on the removal path.