Replace all <img> tags with the next/image component, configuring loaders and size optimization for different breakpoints.