Images Broken in topic

(Chaboi_3000) #1

After some update, I noticed that one of our most important topic has broken images.

In the console log, it says that the server responded with a 404 error

But when I click on the image, it loads just fine.

(Jeff Atwood) #2

Can you share the URL to the topic please?

(Chaboi_3000) #3

Here it is: [Essentials] How To Post/Format Your Code Correctly - CodeCombat Discourse

(Jeff Atwood) #4

Any thoughts @tgxworld?

(Alan Tan) #5

Bumping OptimizedImage::VERSION is apparently not that safe. This was done recently in

What happened here is that the user used the following URL in the post:

Note how the optimized image version is included as _1_ in the URL. If I change that to _2_, the image loads properly.

(Sam Saffron) #6

I am not sure I want to fix this… people are not meant to be directly copying these kind of URLs around. We can make a redirect path… I guess… like we do for avatars, but it feels like such an edge case and not a great practice anyway.