camo icon indicating copy to clipboard operation
camo copied to clipboard

Non-Image content-type returned for animated gif

Open eostermueller opened this issue 7 years ago • 7 comments

I'm getting the message "Non-Image content-type returned" with this animated gif: http://recordit.co/iEMpbBUfQ0

I added some markdown. In the following line, it renders incorrectly, exactly as it renders on my github wiki page: testing

to this github wiki page: https://github.com/eostermueller/performanceGolf/wiki/Install-and-Run

...which generated this url: https://camo.githubusercontent.com/31065e879f38322ec91c2fb8f6a8479362bfd161/687474703a2f2f7265636f726469742e636f2f69454d70624255665130

Any thoughts on how to make this work?

Thank you, --Erik

eostermueller avatar Feb 15 '17 12:02 eostermueller

GitHub uses a custom version of Camo, have you tried testing with your own copy?

sweepies avatar Feb 22 '17 01:02 sweepies

@eostermueller : How did you solve this issue ?

spMohanty avatar Aug 24 '18 14:08 spMohanty

Just add .gif extension.

Aracki avatar Feb 24 '19 21:02 Aracki

This same error occurred with me, while I was adding an mp4 format file.

Ishaan28malik avatar Oct 21 '19 15:10 Ishaan28malik

Same issue with a giphy link.

GaganBhat avatar Jul 25 '20 16:07 GaganBhat

@GaganBhat I'm pretty sure this is new with GIPHY links, they've always worked for me. Now though, I believe there is a restriction on file size:

giphy.gif (7.7MB):

Smaller rendition:

giannif avatar Aug 18 '20 19:08 giannif

Yeah you're right, @giannif, that was the issue, looks they updated the camo configuration.

I fixed my issue by uploading the gif directly into my repo (yes, unfortunately it adds size), and then referring to it with a relative path to the readme.

GaganBhat avatar Aug 18 '20 20:08 GaganBhat