Image link not working anymore?

0 votes
asked Feb 2, 2016 in bug by mgriffel (180 points)

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

1 Answer

0 votes
answered Feb 2, 2016 by plantuml (131,770 points)

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 ?

 

commented Feb 2, 2016 by mgriffel (180 points)
Compact syntax is working and okay for me.

Thank you for the help and the fast response!
...