title: Implement drag-and-drop using AJAX in CakePHP
body: <p>I wish to create a drag and drop feature for adding profile picture using CakePHP. Are there any samples which I can follow or a step by step guide?</p>
  
  <p>I sourced many samples online but none of them cater for CakePHP.</p>
  
  <p>I basically need a simple drag n drop for users to drag their profile image and the URL of the image is reflected in the database. The user will be able to edit another profile image. What approach should I use for this?</p>