varunKT001 / tomper-wear-ecommerce

E-commerce web-application for selling clothing essentials 😀
https://tomper-wear.netlify.app
MIT License
38 stars 48 forks source link

Compress High Quality Images #27

Closed Shubham29012001 closed 2 years ago

Shubham29012001 commented 2 years ago

Fix #26

Compressed the high-quality images from 9MB to 1.4 MB without hampering much the quality of both images. It would be compress little bit more but it might hamper the quality of the image.

Image File Change.

image

More Suggestion -

As a suggestion, it could be better to compress all images including the ones that are coming from Cloudinary. Like we can create a feature that when an admin uploads a product image, the image will first compress through third-party compression API tools like ShortPixel, and then the compressed image could be saved in your Cloudinary CDN thus helping to save a huge chunk of data and the application would load faster.

netlify[bot] commented 2 years ago

‼️ Deploy request for tomper-wear rejected. Learn more about Netlify's sensitive variable policy

🔨 Explore the source changes: 42932d4bbc7fc2c2c003db3476062f449a0bda54

Shubham29012001 commented 2 years ago

Hey @varunKT001, can you please check out the mentioned work and my suggestion?

varunKT001 commented 2 years ago

Nice work @Shubham29012001

Your suggestion is nice. We can do all types of optimizations using Cloudinary only without the need for any other external API. But since I'm using the free tier of Cloudinary, I didn't opt for any optimizations.

Still, if you want to work on that, using external APIs, you can make an issue on the backend repository and work on that 👍

Anyways, thanks for you contribution 🎉