Changed the image that is show when there isn't an image available and removed unnecesary code from the popup.