Take a look at the code here: [login to view URL] . It's supposed to draw a rectangle when clicking and dragging on the image. There's an incorrect offset present. You'll need to fix that. You'll bid for an hourly price, it may take you at most a few hours depending on your expertise.