Added div elements to display the image and corresponding name