Images not loading – CDN?

Hi, we are experiencing that some images are not loading on production since today around noon. Instead of the image, there is just whitespace. What we know so far:

Also, not sure if related: we were experiencing preview issues during the same time frame, plus issues with one specific page being set back to a state of a couple of weeks ago (i.e. loosing all content changes made during the last weeks). We were able to restore the latest version tho.

Thanks!

Hi Anne,

I’ll be happy to help. Can you send me a link to a page containing one of these images?
How are the images being passed to the page in your project?

I’m not sure if it’s related to the preview issue, we’ll investigate that after we resolve this to see if it effects things.

The last state change thing sounds like human error somewhere along the line if I’m honest.

Thanks.

Hi @Phil, on our homepage https://kontist.com/ and on https://kontist.com/landing/steuerservice/ there are images missing, plus other pages. Thanks!

OK, all the images that are failing seem to be svg format. I’ll try to see what’s going on.

1 Like

All right I see what’s breaking the image, there seems to be a query string added for the width, this obviously won’t work for svg images:

https://prismic-io.s3.amazonaws.com/kontist-demo/4ce26c6a-bf57-44f1-b58a-63906d145229_Erreichbarkeit.svg&w=1680

if you remove &w=1680, then it works.

https://prismic-io.s3.amazonaws.com/kontist-demo/4ce26c6a-bf57-44f1-b58a-63906d145229_Erreichbarkeit.svg

This is probably breaking the preview like you said, if you can pass this on to your dev they can probably resolve this and we’re here to help. Alternatively you can re-upload these images in another format and they will work.

:grin:

1 Like

Thanks Phil! Now we were able to fix it, amazing!

1 Like

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