Avicus Archive

Having trouble with html images... by CloudTech January 8, 2016 at 10:01 PM UTC

Hey! I'm new to the whole HTML image thing and i was wondering how to set one up. I already have an image i just dont know how to turn it into a link. Advice would be praised.

ALM January 8, 2016 at 10:01 PM UTC

http://www.w3schools.com/html/html_images.asp

Javipepe January 8, 2016 at 10:01 PM UTC

The general code for having an image as a link is this

CloudTech January 8, 2016 at 10:01 PM UTC

ok... I have no idea what to do from here

DaFrozenBlaze January 9, 2016 at 3:01 AM UTC

Google could help

Coco_stag January 9, 2016 at 3:01 AM UTC

<img src="url" alt="some_text">

Cynthesis January 9, 2016 at 5:01 PM UTC

<a href="url"><img src="image.png, jpg, gif, whatever"></a>, I believe. I'm going off of memory here, tho.

AtditC January 9, 2016 at 5:01 PM UTC

You first gotta upload it to a server like imgur, gyazo etc.

Little tutorial (for Google Chrome): https://www.youtube.com/watch?v=o3ZNgf98Dnk

Right click on your picture and go on: Copy image address (for Google Chrome)
And now you can put the copied URL into the URL of this HTML example code:

<img src="URL"></img>

don't forget to leave the " there where they are.

Example Image:





AtditC January 9, 2016 at 6:01 PM UTC

<a href="url"><img src="image.png, jpg, gif, whatever"></a>, I believe. I'm going off of memory here, tho.
<a> is going to make a text (between <a> and </a>) clickable. It's redirecting you to another website which you put in href="url".

Cynthesis January 9, 2016 at 6:01 PM UTC

<a> is going to make a text (between <a> and </a>) clickable. It's redirecting you to another website which you put in href="url".
So, in other words, just put the "href" in the <img src> tag?

AtditC January 9, 2016 at 7:01 PM UTC

So, in other words, just put the "href" in the <img src> tag?
No href at all