If instead of a file name, you have a URI (i.e., a web address) for the image, select File → Open Location… from the image menu. In the dialog, enter (or paste) the URI.