title: jQuery image drag in parent element
body: <p>Hi I have some problem :) in my example you can drag image into div element. but if you drag element for example left image go to left it works but i need when drag image left stop drag when image <code>left == corner</code>.
  Sorry for my English.</p>
  
  <p>for first try my example to understand what I mean</p>
  
  <p>example`</p>
  
  <p><a href="http://jsfiddle.net/493pyLme/" rel="nofollow noreferrer">jsfiddle</a></p>
  
  <p>now</p>
  
  <p><a href="https://i.stack.imgur.com/DG5Z9.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DG5Z9.jpg" alt="enter image description here"></a> what i need
  <a href="https://i.stack.imgur.com/kkH1A.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kkH1A.jpg" alt="what i need"></a></p>