Added codes to show the image that was taken, instead of the hardcoded image that was displayed earlier