fix handling of images without exif
nicer display on single page gallery