Implemented the Drag and Drop Images functionality