My Storing User Input tutorial is here: http://econym.org.uk/gmap/store.htm
For images you need to consider two scenarios, one where the user has the image on their PC and you want to upload a copy to store in your webspace, and one where the image already exists on the Internet. In case 1, you'd need to use <input type="file" />. Unlike most <input>s, you can't grab that file in your client code, you have to let the <form> pass control to your file upload server, and you therefore lose context on the page you came from. The normal way to deal with that is to not upload the file from your main page, but to have an "upload file" button that launches a little popup window. The popup window contains the <form> with the <input type="file" /> and also an <input type="hidden"> in which you pass a value that identifies the marker with which this image is to be associated. I suggest going to any webpage that allows image uploads (not necessarily map related) and having a quick look at the source code of the popup. I'm not sure if there are security issues that need to be considered. -- Mike Williams http://econym.org.uk/gmap -- 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=.
