Fixed filepaths for loading and closes images in Lightbox.