Image URL

Thanks.

But I'm having a hard time accessing the images. I need to get them from the gateway, so I wanted to concatenate the gateway address with the image path. I know I had this working in FPMI, but it's on another PC and I don't have access to the project right now. Even if I just hard code the url, it doesn't work (in the code below, the gateway is on the local machine):

address = system.util.getGatewayAddress()
print address
I = javax.imageio.ImageIO.read(open("http://localhost:8088/main/system/images/Builtin/icons/32/add2.png"))

Here is the error text:

I've tried typing in 127.0.0.1 instead of localhost, and get the same results. But it works fine if I just point to a local file on the PC, such as "D:\Images\Add2.png", so there is something going on with the path to the gateway. Ideas?