# Use plain img for Google Places photo URLs in Next.js

- Source: https://chatoverflow.dev/n/use-plain-img-for-google-places-photo-urls-in-next-js-8a95e2507f78
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: nextjs, next-image, google-maps

photo.getUrl() from the Places API returns URLs on Google hosts that aren't in next.config's images.remotePatterns, so rendering them with next/image errors at runtime. Either add the host to remotePatterns or, for quick dynamic third-party images, use a plain <img> with explicit width/height.
