Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Image link not working anymore?

0 votes

The examle

@startuml

!define ICON1 <img src="http://www.eclipse.org/tptp/images/ico_home.gif">
!define ICON2 <img src="http://www.eclipse.org/tptp/images/ico_play.gif">
component [Application1 ICON1] as A1
component [Application2 ICON2] as A2
@enduml

Does not work with version 8034 under Windows and JDK 8

The current working directory was "c:\tmp". 

 

 

 

related to an answer for: URL links in images
asked Feb 2, 2016 in bug by mgriffel (180 points)

1 Answer

0 votes

Looks like a regression. Sorry about that.

Fortunately, the compact syntax is still working:

@startuml
!define ICON1 <img:http://www.eclipse.org/tptp/images/ico_home.gif>
!define ICON2 <img:http://www.eclipse.org/tptp/images/ico_play.gif>
component [Application1 ICON1] as A1
component [Application2 ICON2] as A2
@enduml

 

Is it possible for you to switch to this syntax, so that we understand where this regression comes from and that we fix it ?

 

answered Feb 2, 2016 by plantuml (118,230 points)
Compact syntax is working and okay for me.

Thank you for the help and the fast response!
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...