Skip to main content
Participant
March 6, 2017
Answered

Re: Hyperlinking Images

  • March 6, 2017
  • 1 reply
  • 515 views

Hi again. Thank you all so much for all your help so far. I have another question (surprise surprise). I am trying to Hyperlink an image to another page, but it is not making/using the actual Image as the link to be clicked on. Only the name I enter in the box - which appears under my image - is the link. I have copied & pasted the html as it appears in the code. Any other options available to use the actual image as the link ??

thanks for any help given again. 

This topic has been closed for replies.
Correct answer Nancy OShea

Assuming you're working in a defined local site folder and all your files and assets are in that site's root folder.

Link to outside URL:

<a href="http://example.com"><img src="some_image.jpg" alt="description"></a>

Link to internal URL:

<a href="filename.html"><img src="some_image.jpg" alt="description"></a>

1 reply

Nancy OShea
Community Expert
Nancy OSheaCommunity ExpertCorrect answer
Community Expert
March 6, 2017

Assuming you're working in a defined local site folder and all your files and assets are in that site's root folder.

Link to outside URL:

<a href="http://example.com"><img src="some_image.jpg" alt="description"></a>

Link to internal URL:

<a href="filename.html"><img src="some_image.jpg" alt="description"></a>

Nancy O'Shea— Product User & Community Expert