Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

Display photospheres #234

Closed
sbrl opened this issue Apr 1, 2017 · 9 comments
Closed

Display photospheres #234

sbrl opened this issue Apr 1, 2017 · 9 comments
Milestone

Comments

@sbrl
Copy link

sbrl commented Apr 1, 2017

Feature request

User type: Whoever can view images

User level: I don't understand what you mean by this, but the feature would be something that a beginner could use, and programming-wise, I'd rate it at an intermediate task

Description

With the popularisation of modern smartphones, more and more people now have the ability to take so-called photospheres, which capture a 360 degree view of a person's surroundings - not unlike an image from google streetview. An example can be found on this page.

Unfortunately, Nextcloud does not currently display them correctly - only displaying the full image, and not the pannable/zoomable photosphere. I suggest that this be added, so that users can view their photospheres in the Nextcloud gallery and when previewing photos

Benefit / value

It would be rather nice if I could view my photospheres straight in Nextcloud, since my operating system's photo viewer doesn't currently support photospheres. Since support it's particularly common in operating systems and desktop apps from what I can see at the moment, it would enable people to view their photospheres on their laptops, PCs, etc. when they couldn't before.

Risk / caveats

I foresee that Nextcloud's current image viewer could potentially be broken with the addition of this feature.

In addition, it is possible that the large nature of some photospheres might cause the server to hang while it is downloaded by a slow connection, though this is only more likely due to the nature of photospheres - hardly specific to photospheres alone.

Sponsorship

Are you a developer willing to implement this feature?: possibly. I'd need guidance on which part of the codebase I want, and it would have to wait until I have some free time in the late summer.

Can you sponsor the development of this feature or do you know someone who can?: I don't understand, so probably not 😕

@jaller94
Copy link

jaller94 commented Apr 2, 2017

This would likely be possible to acomplish with A-Frame. I already watched some of my photospheres with this locally.

To those familiar with developing Nextcloud extensions: Would this need to be part of the gallery app or could this be part of a separate extension and still feel 'native' in the gallery app?

@sbrl
Copy link
Author

sbrl commented Apr 2, 2017

@jaller94 That library looks good, though keyboard support would be a nice-to-have, which demos don't appear to support.

@jaller94
Copy link

jaller94 commented Apr 2, 2017

A-Frame is a JavaScript library and the camera is an object in a 3d world. Keyboard support should be no problem.
EDIT: People are also likely going to want inverted controls.

@jaller94
Copy link

jaller94 commented Apr 9, 2017

A photosphere gallery is even one of their examples and described in the documentation.

https://aframe.io/docs/0.5.0/guides/building-a-360-image-gallery.html

An (which is their root element) can reference to a canvas objects. This would be useful for embedding it into a Nextcloud application.

@oparoz oparoz added this to the backlog milestone Apr 26, 2017
@oparoz oparoz changed the title Suggestion: Support the displaying of photospheres Display photospheres Apr 26, 2017
@oparoz
Copy link
Member

oparoz commented Apr 26, 2017

This could be an interesting feature. You would need to select the a-frame viewer if you can identify that the image is a photosphere and have a special UI switch so that the standard navigation doesn't interfere.

@BloodyIron
Copy link

I really want to be able to see photospheres properly via nextCloud! I take them often, and it's for the experience at an event. Is this feasible? Can we get this baked in?

@BloodyIron
Copy link

So.... any chance we can get this? There's even more expanded multimedia content coming out like VR pictures and videos too. That'd be sweet to at least preview on nextCloud.

@R0Wi
Copy link
Member

R0Wi commented Mar 3, 2019

Hey guys, i've made a little Nextcloud-App for integrating photo-sphere-viewer.js. Check out my comment here

@skjnldsv
Copy link
Member

skjnldsv commented Sep 3, 2019

Superseded by #540 and nextcloud/files_photospheres#27

@skjnldsv skjnldsv closed this as completed Sep 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants