Tyler L
Tyler L

Reputation: 845

<img src="my_image.GIF"> works but not .gifv

Any idea why this won't load?

<img src="https://i.sstatic.net/Y9OtS.gifv"> <!-- won't load -->

Codepen

But it works if you change gifv to gif.

https://i.sstatic.net/Y9OtS.gifv = src

https://i.sstatic.net/Y9OtS.gif = gif src

Upvotes: 0

Views: 732

Answers (1)

Gabriele Petrioli
Gabriele Petrioli

Reputation: 196142

That is because the .gifv is not an actual image. It is a url that is handled by imgur.com and shows the image in an html page (hence the download button and imgur link)

The .gif on the other hand, is a direct link to the image.

Upvotes: 5

Related Questions