drag and drop adding of images is done