how can i display id of the image after drag and drop an image inside canvas of html5
===

I am having 4 images inside canvas of html5 i want to display the name of the image inside my canvas when i drop the image somewhere in canvas.Is it possible if yes please tell me how could it be?