Added code to showing the image popup.