# Are there guidelines for optimizing images for better website performance?

Source: https://commmerce.com/help/en/article/are-there-guidelines-for-optimizing-images-for-better-website-performance
Updated: 2025-06-16
Section: Commmerce Help Centre > Website Builder > Catalog

> Optimize your website images for faster load times and better performance. Follow guidelines for file format, compression, resizing, alt text, lazy loading, responsive images, and browser caching

Here are some guidelines for optimizing images for better website performance:

- **Use the Right File Format:** For photographs, use JPEG format, and for images with transparency, use PNG format. For simple graphics or logos, consider using SVG format. (**Note: Each image should be less than 2 MB in size.)**
- **Compress Images:** Compress images to reduce file size without compromising quality.
- **Resize Images:** Resize images to the required dimensions for your website.
- **Optimize Alt Text:** Alt text enables visually impaired users to understand the content of an image and also enhances SEO by providing context to search engines.
- **Use Responsive Images:** Implement responsive images to serve appropriately sized images based on the user's device and screen size.
- **Enable Browser Caching:** Set up browser caching for images to allow returning visitors to load images from their local cache instead of downloading them again. This can significantly reduce load times for users who revisit your website.

## Related on Commmerce

- [Commmerce Online Store](https://commmerce.com/online-store/)
- [SKU Generator](https://commmerce.com/tools/sku-generator.html)
- [Barcode Generator](https://commmerce.com/tools/barcode-generator.html)
- [HSN Code Finder](https://commmerce.com/tools/hsn-code-finder.html)

