Images can be optimized by using modern formats like .webp or .avif, implementing lazy loading, and ensuring proper compression to reduce file sizes without sacrificing visual quality.