Diagramsnet does not resolve locally pathed images #1730
Labels
👶 good first issue
Good for newcomers
🐋 docker
Related to Docker code
🙃 upstream
👋 help wanted
Help wanted!
Diagrams.net does not appear to handle
clipart
based images found locally to the diagrams.net docker itself.This only occurs when an object is referenced via a local path:
image=img/lib/clip_art/computers/Printer_Commercial_128x128.png
In the lambda icon to the left it is accessed via mxgraph:
shape=mxgraph.aws3.lambda_function
The icons are indeed stored in the docker image. They're copied over at this line, and I can validate they are present at:
/usr/local/kroki/assets/img/...
They do not appear to be resolving properly however when used in a diagram.
For replication, here is the xml for the above diagram:
This does resolve properly in the diagramsnet web or local application.
The text was updated successfully, but these errors were encountered: