Is it possible to add an hyperlink to an image?

0 votes
asked Jun 5, 2019 in Question / help by anonymous

Hi,

It seems that Plantuml does not support hyperlinks in embedded images. Is there any way to add a clickable link to an image?

In the following example, the link can only be added to text.

@startuml
Start --> "[[http://www.plantuml.com Image]] <img src=http://s.plantuml.com/img/pdf.png>" as a1
a1 ...> End

@enduml

Thanks.

1 Answer

0 votes
answered Jun 12, 2019 by plantuml (295,000 points)

Thanks for the suggestion.

With last beta http://beta.plantuml.net/plantuml.jar you can use the syntax :

Start --> "[[http://www.plantuml.com <img src=http://s.plantuml.com/img/pdf.png>]]" as a1

Is this what you are expecting ?

commented Jun 13, 2019 by anonymous
Yes, this is exactly what I was expecting. Great!

Thank you.
...