Putting links in graphics?

  • Thread starter Thread starter BillTre
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
5 replies · 1K views
Messages
2,831
Reaction score
12,427
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
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>
 
Reply
  • Informative
Likes   Reactions: BillTre