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

**URL:** https://community.prismic.io/t/imgix-image-appears-corrupted-in-production-otherwise-fine-in-prismic-backend/8438
**Category:** Developing with Prismic
**Tags:** nuxtjs
**Created:** [December 21, 2021, 7:38pm UTC](https://community.prismic.io/t/imgix-image-appears-corrupted-in-production-otherwise-fine-in-prismic-backend/8438 "2021-12-21T19:38:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![grafik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/grafik/32/2875_2.png) [@grafik](https://community.prismic.io/u/grafik)
#### Post date: [December 21, 2021, 7:38pm UTC](https://community.prismic.io/t/imgix-image-appears-corrupted-in-production-otherwise-fine-in-prismic-backend/8438/1 "2021-12-21T19:38:49Z")

</div>

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

Here is the original:

 ![](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/f/f059985f2d13ca2df362b73bc2840f3a96876fe8.jpeg)

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

 ![](https://europe1.discourse-cdn.com/flex013/uploads/prismic/original/2X/c/ccbf0417f0ca87dae83f9475ee2b74a6d5331fdc.jpeg)  
Seems very strange, any idea what is going on here?

---

<div class="post-metadata">

### Author: ![Pau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/pau/32/5422_2.png) [@Pau](https://community.prismic.io/u/Pau)
#### Post date: [December 21, 2021, 11:07pm UTC](https://community.prismic.io/t/imgix-image-appears-corrupted-in-production-otherwise-fine-in-prismic-backend/8438/2 "2021-12-21T23:07:59Z")

</div>

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

> **[Configure the Image Field](https://prismic.io/docs/core-concepts/image#apply-your-own-transformations)**
>
> This article explains what the Image field is and how to configure it in the Custom Type builder.

---

<div class="post-metadata">

### Author: ![grafik](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/grafik/32/2875_2.png) [@grafik](https://community.prismic.io/u/grafik)
#### Post date: [December 22, 2021, 3:08am UTC](https://community.prismic.io/t/imgix-image-appears-corrupted-in-production-otherwise-fine-in-prismic-backend/8438/4 "2021-12-22T03:08:55Z")

</div>

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

---

<div class="post-metadata">

### Author: ![Phil](https://dub1.discourse-cdn.com/flex013/user_avatar/community.prismic.io/phil/32/14_2.png) [@Phil](https://community.prismic.io/u/Phil)
#### Post date: [September 29, 2022, 9:58am UTC](https://community.prismic.io/t/imgix-image-appears-corrupted-in-production-otherwise-fine-in-prismic-backend/8438/6 "2022-09-29T09:58:07Z")

</div>

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.
