Putting links in graphics?

  • Thread starter Thread starter BillTre
  • Start date Start date
AI Thread Summary
Inserting links into graphics for forum posts or articles can be challenging due to HTML limitations. The concept of an image map allows for specific areas of an image to be clickable, but most forums do not support this feature. The Insights editor may allow the use of image maps, unlike standard forum editors. Users seeking to link text within graphics should explore the capabilities of the Insights editor for potential solutions. Overall, while the functionality exists in HTML, its implementation in forums is often restricted.
BillTre
Science Advisor
Gold Member
2024 Award
Messages
2,681
Reaction score
11,633
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
Links that are limited to specific areas of the image? That needs more html features than forums allow.
 
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>
 
I was afraid of that, but thought it worth checking.
Thanks guys!
 

Similar threads

Replies
15
Views
752
Replies
5
Views
3K
Replies
7
Views
2K
Replies
3
Views
1K
Replies
2
Views
2K
Replies
10
Views
2K
Replies
6
Views
2K
Replies
4
Views
2K
Replies
9
Views
2K
Back
Top