Skip to content
This repository has been archived by the owner on Apr 7, 2021. It is now read-only.

Non-Image content-type returned for animated gif #114

Open
eostermueller opened this issue Feb 15, 2017 · 7 comments
Open

Non-Image content-type returned for animated gif #114

eostermueller opened this issue Feb 15, 2017 · 7 comments

Comments

@eostermueller
Copy link

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

@sweepies
Copy link

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

@spMohanty
Copy link

@eostermueller : How did you solve this issue ?

@Aracki
Copy link

Aracki commented Feb 24, 2019

Just add .gif extension.

@Ishaan28malik
Copy link

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

@GaganBhat
Copy link

Same issue with a giphy link.

@giannif
Copy link

giannif commented Aug 18, 2020

@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:

@GaganBhat
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants