Nextcloud app for viewing Google PhotoSphere 360° images (panorama-images)
Перейти к файлу
Nextcloud bot 2cb8c0ceea
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 00:53:00 +00:00
.github/workflows Update playwright.yml (#138) 2024-08-31 22:37:27 +02:00
.tx
.vscode
appinfo Prepare for NC30 2024-08-31 20:33:08 +00:00
css
img
js Make sure show image actionhandler is only called once (#146) 2024-06-06 07:30:42 +00:00
l10n Fix(l10n): Update translations from Transifex 2024-11-04 00:53:00 +00:00
lib
src Make sure show image actionhandler is only called once (#146) 2024-06-06 07:30:42 +00:00
templates
tests Make sure show image actionhandler is only called once (#146) 2024-06-06 07:30:42 +00:00
.gitignore
.l10nignore
.php-cs-fixer.dist.php
COPYING
Makefile
README.md Prepare for NC30 2024-08-31 20:33:08 +00:00
composer.json
composer.lock
package-lock.json Fix Node build (#145) 2024-06-02 15:58:13 +02:00
package.json Fix Node build (#145) 2024-06-02 15:58:13 +02:00
phpunit.integration.xml
phpunit.xml
webpack.js

README.md

Nextcloud - Files_PhotoSpheres

PHPUnit codecov Lint Generic badge Generic badge

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.

Table of contents

Features

  • Interactive viewer to view PhotoSphere images in your Nextcloud instance
  • When clicking on an image it automaticlly detects the presence of XMP-data tags (which are used in photospheres).
  • Compatible with the "normal" user-view, single-file share and directory share.
  • Seamless integration with other file-viewer apps.
  • Supports viewing of 360° videos in "normal" user-view via context menu.

Setup

Install through the app store

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.

Install manually

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

Usage

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.

Caching

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.

Caveats

  • It is not possible to open the photosphere viewer from the Gallery. You must use the file browser.
  • WebGL-support must be activated in your browser.
  • 360° videos can not be shown in shared views. It is only possible to open them by context menu therefore the files_rightclick app has to be installed (see https://github.com/nextcloud/files_rightclick).

Report an issue

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:

    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.

  • In the frontend this app is only an integration of different external components like photo-sphere-viewer.js and marzipano. Therefore problems regarding these libraries cannot be fixed in this app.

Thanks for your support 😃