# Are there guidelines for maintaining image quality while optimizing file size?

Source: https://commmerce.com/help/en/article/are-there-guidelines-for-maintaining-image-quality-while-optimizing-file-size
Updated: 2025-06-17
Section: Commmerce Help Centre > Website Builder > Catalog

> Maintain image quality while optimizing file size by choosing the right format, adjusting compression, and resizing images. Learn more about image dimensions

Yes, here are some key guidelines to maintain high image quality while keeping file size optimized for web and product listings:

- **Use the right file format:**

JPEG

: Great for photos (balanced quality + small size)

PNG:

Best for transparency or sharper images

WebP:

Modern, smaller files with good quality (if your platform supports it)

- **Resize before uploading:**

Don’t upload large raw images (e.g., 4000px wide) if your display needs only 800px.

Common recommended width:

800–1200px

for product images

- **Compress without visible quality loss:**

Use tools like

TinyPNG, Squoosh, or ImageOptim

Aim for image size under

500KB

, ideally

100–300KB

for fast load

## 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)

