drag link with no redirect!

drag link with no redirect!

Hey guys and gals!

My structure is like this example:

  1. <a href="img.one.jpg"><img src="thumbnail.jpg" /></a>

Now I want to make it draggable with the .draggable() function which works fine. When I drag an image and release the left mousebutton the link is activated... of course. How can I stop this but activate the link when I click it?