Nextcloud app for viewing Google PhotoSphere 360° images (panorama-images). This app is based on the photo-sphere-viewer.js library. For 360° videos the library marzipano is used.
This version is tested for Nextcloud 30.
The recommended way to install this app, is through the Nextcloud app store.
Open your Nextcloud instance -> Settings -> Apps -> Multimedia -> Photo Sphere Viewer -> Download and Enable.
You can manually install this app, by cloning the repository into your nextcloud installation:
cd <your-nextcloud-installation>/apps/
git clone https://github.com/nextcloud/files_photospheres.git
chown www-data:www-data -R ./files_photospheres
After installing the app you can view your PhotoSphere 360° images by clicking on the file in the Nextcloud file browser. Note that opening PhotoSpheres from the gallery is currently not supported.
This app uses the caching mechanism of Nextcloud to cache the XMP Metadata of the images. The cache is filled on demand when opening a directory for the first time and it will be valid for 24 hours. To get the full performance it's highly recommended to install a local caching backend like APCu or Redis like described here.
WebGL
-support must be activated in your browser.files_rightclick
app has to be installed (see https://github.com/nextcloud/files_rightclick).I rely on all kind of feedback so feel free to open an issue if you encounter any problems with this app but please pay attention to the following points:
If there is a problem with some images which aren't opened in this app but rather in the regular image viewer, please provide them via downloadlink if possible. Otherwise debugging and error-checking becomes quite hard. Please also check if the image you provide has correct XMP-metadata for being detected as photosphere image (like specified here). The image is only detected as photosphere if the XMP-metadata contains the following data:
GPano:UsePanoramaViewer
is set explicitly to true
orGPano:ProjectionType
is set to equirectangular
orGImage:Mime
is set to image/jpeg
(this is currently the only reliable way to detect Google VR180 images, see https://github.com/nextcloud/files_photospheres/issues/1)You can check these metadata information either with tools like exiftool
or manually by opening the image with your favorite texteditor and scrolling throw the first few bytes.
Thanks for your support :smiley: