On May 14, 10:27 pm, charles <[email protected]> wrote: > excellent. thanks. one final question. i'm trying to load an image > but all i get is text. can you look into this for me? thank you very > much for your help!
You're just adding the url into the html text for the infoWindow. You need something like + '</br><img src=' + image + '>' BUT: you should specify an alt or title attribute for the image as well as src. And you will need to specify the size of the image as well or the infoWindow won't be big enough (it will assume zero size for the image and won't leave any room for it). If all your images are the same size this can be hard-coded into the <img> tag; if they are not, you will need to include the dimensions in the XML -- there's a getimagesize function in php. Andrew --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
