I have this code
<div id="cargando"><img src="/images/822.gif"/>
<h5> Ejecutando...</h5>
</div>
load any image that does not have the gif format, what do I have to do to load gif?
The gif download it here link
I tried exactly the same image with the difference that locally and with a url and it worked for me, but when trying out your code I had the same problem, so I modified it a bit, this is your code:
<div id="cargando"><img src="/images/822.gif"/>
<h5> Ejecutando...</h5>
</div>
But I made a small modification:
I have created the same folder and have taken the first /
that is within src
of the img
tag leaving it as below:
<div id="cargando"><img src="images/822.gif"/>
<h5> Ejecutando...</h5>
</div>
And it has worked for me, you tell me how you are doing
As you can see in the example, your code works perfectly well
<div id="cargando"><img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Rotating_earth_%28large%29.gif/200px-Rotating_earth_%28large%29.gif"/>
<h5> Ejecutando...</h5>
</div>
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/2/2c/Rotating_earth_%28large%29.gif/200px-Rotating_earth_%28large%29.gif" alt="Funny image">