« Back to the HTML Forum

gifs aren't showing up?

I have the code down, I think, but anytime I try to insert my own gifs the image wont show up only the little place holder pic, I need some help with this


Report Topic

2 Replies

Sort Replies:

Reply by JaecadeJnight

posted

If you found a gif on the internet, right click it (or long press on mobile), and "Copy Image Address", or on mobile, "Open Image in new Tab" then copy the URL bar there.

Then paste that gif url into an HTML image tag, like so:

<img src="put the url here" alt="alt text 4 ur image" />


That should create an image


Permalink Report Reply

Reply by ha_anah

posted

I think it might be bc of the url. I suggest instead of pasting the exact image address save the image to ur laptop (or whatever device u r using) then go to a website that makes a url code for u  ( I use imgBB bc its the easiest for me but u can use anything) and that website basically hosts the link for u bc sometimes the link u use gets blocked or if the original owner of the image deletes it it won't show up for u so by using a hosting site like imgBB u can guarantee that whatever image u r using (gif or blinkie or whatever) won't break. also, if u r gonna use imgBB after u upload the image u should choose the embed code html full linked then it should give u something like this:

<a href="https://ibb.co/Q1gfpGr"><img src="THE LINK TO UR IMAGE" alt="2bcf6e13dfc070b8b47f813c37d451f8" border="0"></a>


Just copy the link and u dont need the rest of the code and that's it. u can use it in any way u want. I personally use this code for gifs and blinkies and images:

<img src="THE LINK TO UR IMAGE"/>


I hope this made some sense and pls ignore any spelling mistakes I didn't proof read this and I'm currently sleep deprived :,|


Permalink Report Reply