To resolve hostname is not configured, update the next.config file to include the details of the image provide in the images > remotePatterns array.