fix _getGalleryURL for no spaceImgs