title: JavaScript image crop / rectangle select on image
body: <p>I have a question regarding JavaScript. I want something like this for a project:</p>
  
  <p><img src="https://i.stack.imgur.com/7Tjm0.png" alt="enter image description here"></p>
  
  <p>Basically, I want some kind of a rectangle selection within a picture. I already have the PHP for processing it later. I just need to get the X &amp; Y position of the top/left corner of the crop. Is this possible in JS+HTML? And if so, how?</p>