how can i put an image in an info window??

Discussion in 'Google API' started by nourelmasry, Sep 25, 2007.

  1. #1
    when trying to put an image in my info window i do these steps:

    var point = new GLatLng(43.91892,-78.89231);
    var marker = createMarker(point,'Some stuff to display in the<br>Second Info Window with an image<br><img src="image.jpg" width=150 height=100>')

    map.addOverlay(marker);

    and my image is in same directory.
    the problem is that the file can't see it, doesn't open it even if i put the whole path.

    so how can i solve this problem????
     
    nourelmasry, Sep 25, 2007 IP