What's the best file size for high-quality images on a website?
Asked by
porch swing~
I'm a web designer creating sites for clients, particularly in the wedding venue and interior design sectors, where high-quality images are crucial. My main concern is how to maintain a balance between high quality and manageable file sizes. For large screens, I generally need images to be around 2560x1600 pixels. Right now, I'm using xcompress to convert images to JPG at 60% quality, which ends up around 500MB per image, then I convert them to WebP. Is there a better way to optimize file sizes while keeping quality intact? Also, I do use smaller image sizes for lower screen resolutions.
Answers
Did you mean 500MB per image? Because that sounds way too large! If your images are actually that big, thereโs definitely something off. If you meant 500KB, that sounds decent at that resolution. Generally, Iโd recommend using AVIF over WebP for better compression. Aim for around 150-300KB for your hero images to strike a good balance between quality and file size.
Reply to this answer
If that's actually 500MB, please check your workflow! For 2560x1600 images, JPG at 60% should realistically be around 400-600KB. Switching to AVIF and using the `` element can help optimize further with various fallbacks. Aim for around 150KB with AVIF at good quality. And don't forget to implement responsive images using `srcset` and lazy loading techniques, too! Thatโll save a ton of bandwidth on smaller screens.
Reply to this answer
Instead of converting to JPG first and then to WebP, just go directly for the WebP format. It should give you better results. Assuming you meant 500KB instead of 500MB, thatโs an acceptable size at 2560x1600. Also, consider implementing lazy loading to improve loading times without stressing over every KB.
Reply to this answer
For large images, shooting for around 500KB is a good target. We generally try to keep our presentation images below 2MB and smaller support images down to under 1MB. Logos and icons should ideally be under 600KB. You can definitely optimize your images more; 500MB each is way too high!
Reply to this answer
Add your answer
Answers are reviewed before publication.
Jot: Those sizes are pretty high! You really need to look into some image optimization techniques if youโre going that route.