Click here to Skip to main content
15,906,094 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends,
How I will get coordinates of image with clicking on it. I googled it but i got only X and Y coordinates. Please suggest me...
Posted

1 solution

what does x1,y1,x2,y2 means???
when you click on an image,it will have only x and y coordinates.

if you wish to select a portion of the image and get the selected portion coordinates,
have a look at this
select a portion of an image and retrieve its coordinates with jquery[^]

if you drag your mouse and you want the starting and ending position coordinates,
have a look at the solution provided by Lion King
getting image coordinates of mouse movement[^]
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900