Putting links in graphics?

  • Thread starter Thread starter BillTre
  • Start date Start date
BillTre
Science Advisor
Gold Member
Messages
2,752
Reaction score
12,020
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?
 
Physics news on Phys.org
HTML:
<a href="url"><img src="url" /></a>

Like that?
 
  • Skeptical
Likes   Reactions: BillTre
Links that are limited to specific areas of the image? That needs more html features than forums allow.
 
  • Informative
Likes   Reactions: BillTre
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>
 
  • Informative
Likes   Reactions: BillTre
I was afraid of that, but thought it worth checking.
Thanks guys!
 

Similar threads

  • · Replies 15 ·
Replies
15
Views
1K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 83 ·
3
Replies
83
Views
3K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 27 ·
Replies
27
Views
4K