PDA

View Full Version : Uploading Image with x,y values



centris
Aug 27th, 2005, 03:45 PM
How can I add an image that gives me x, y coordinates to a form to submit to MySQL? I can now drag an image where I want with a script, but it only gives me x & y. Is it possible to upload it and keep the name and/or image in the upload?

Willy Duitt
Aug 31st, 2005, 03:35 AM
Try using input type=image to submit the form...

diablo2_v
Aug 31st, 2005, 03:47 AM
To store the x,y position of the image, you can use hidden fields. When you submit it, use a server side script to save those x,y coordinates