Broken images caused by wrong extensions (png instead of jpg)

Avatar image for hosseincode
HosseinCode

5

Forum Posts

0

Wiki Points

0

Followers

Reviews: 0

User Lists: 0

Well i came across another problem which was very unexpected. Looks like images returned for some games in /games endpoint have the wrong file extension. For example:

Returned URL (wrong): http://static.giantbomb.com/uploads/scale_small/9/97089/2814464-ps4.png
Correct URL: http://static.giantbomb.com/uploads/scale_small/9/97089/2814464-ps4.jpg

The only difference is the extension which should be jpg instead of png.

I was going to do an string replace in my code and replace all the png with jpg but i found some working images with png extention (Example: http://static.giantbomb.com/uploads/scale_avatar/14/149021/2554923-2761450757-Splas.png).

Also i saw another thread which had the same problem in /videos endpoint.

So is this a fixable bug or i have to somehow deal with it?