Best practice advice for image optimization

Hi prismic people! i've been using your CMS to build a blog. The latest challenge i've ran into is that sometimes we may upload images that are too big (more than 5MB) and incur heavy bandwidth cost on my hosting end.

One way to solve this is to manually resize and compress the image before uploading. I'm wondering if there's a better way to do this via prismic (initially thinking of a custom limit to image upload, or some maximum resolutions accepted)

Could I seek your advice on this please?

Hi Gabriel,

We actually give you that power directly in Prismic when you upload your images, this is done by our Imgix integration.

You can edit the final quality by editing the URL string on your front end. This is described in the following articles in the 'Change default compression and formatting settings' section.

Depending on your website applications there are plugins that help make this process easier like...


Let me know if you have any questions.


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.