IMGIX image appears corrupted in production, otherwise fine in prismic backend

Hi there, my client has an image that appears to have been corrupted by imgix.

Here is the original:

When rendered using some imgix params the image looks to be corrupt:


Seems very strange, any idea what is going on here?

Hey @grafik, this is probably happening because Imgix automatically compresses images. You can edit the URL string o the image to remove the parameter.

Thanks, Iā€™m using compress auto, which seems pretty standard. Seems odd that it would cause errors for something so simple.

Will try re-uploading the image to see if that makes a difference

Hey,

Try to make sure the user isn't compressing the image before uploading it as well. As Imgix already does this it will be double compressed and lose quality.

Thanks.

1 Like