Putting links in graphics?

  • Thread starter BillTre
  • Start date
  • #1

BillTre

Science Advisor
Gold Member
2022 Award
2,283
7,995
Is there an easy way to put links into graphics (vector drawings), such as for InSights articles of forum posts?
For example, if I have some text in a drawing, can I link it to an article somewhere, either from the text or on someway putting a transpartent button over it?
 

Answers and Replies

  • #3
Links that are limited to specific areas of the image? That needs more html features than forums allow.
 
  • #4
The feature you refer to exists in HTML and is called an image map ("map", see below). It allows an image to have clickable areas.

I don't know any fora that support it.


Code:
<img src="workplace.jpg" alt="Workplace" usemap="#workmap">

<map name="workmap">
  <area shape="rect" coords="34,44,270,350" alt="Computer" href="computer.htm">
  <area shape="rect" coords="290,172,333,250" alt="Phone" href="phone.htm">
  <area shape="circle" coords="337,300,44" alt="Coffee" href="coffee.htm">
</map>
 
  • #5
I was afraid of that, but thought it worth checking.
Thanks guys!
 

Suggested for: Putting links in graphics?

Replies
2
Views
405
Replies
6
Views
2K
Replies
7
Views
1K
Replies
13
Views
207
Replies
10
Views
1K
Replies
12
Views
173
Replies
3
Views
425
Replies
17
Views
741
Back
Top