Fixed opening photos from 3d gallery