Display a gallery for provided media. Handles a plain image and the spatial (3d) images.
