Embed http image

Hi all,
I'm trying to insert an image in a node, but when I execute dot I get this error:
Warning: Invalid argument while opening https://www.google.it/images/srpr/logo4w.png
Warning: No or improper image="https://www.google.it/images/srpr/logo4w.png" for node "b"

The dot source is this:
digraph legend {
a [image="d:\temp\out.gif"]
b [image="https://www.google.it/images/srpr/logo4w.png"]
}

In the resulting graph I see the node with the local image correctly, but the 'b' node doesn't have any image.

I'm behind a proxy, but I don't think this is the problem.

A long time ago, Graphviz

A long time ago, Graphviz allowed images to be specified via URLs but we determined we couldn't guarantee the safety of this, so the feature was removed.

I think its a great

I think its a great limitation, if it is only a safety problem it will be good to disable this feature by default and enable it only specifing it with some parameters. So anyone can take his risks only if he wants.

 

Thanks for the quick response!

Recent comments