Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Buttons to switch to next/previous photosphere #11

Open
TheNetStriker opened this issue May 23, 2019 · 10 comments
Open

Buttons to switch to next/previous photosphere #11

TheNetStriker opened this issue May 23, 2019 · 10 comments
Labels
enhancement New feature or request

Comments

@TheNetStriker
Copy link

It would be great to have buttons to switch to next/previous photosphere in the current folder just like in the gallery app. Is something like this planed for this app?

@R0Wi
Copy link
Member

R0Wi commented May 23, 2019

Well this would really be a nice feature. At the moment, when clicking on an image there is a little serverside-check if the image is a pano-image or not (this is determined by looking for the xmp-data in the image-file).

If we would like to implement the mentioned feature, we'd have to know which images in the current folder are panos and which aren't. I don't think we can iterate through all images and have a look at the binary data, so maybe @SudoHenk has an idea? I'd really like to implement this any way :-)

@R0Wi R0Wi added the enhancement New feature or request label May 23, 2019
@SudoHenk
Copy link
Contributor

AFAIK these are the possible solutions:

  1. We use the client's knowledge of the fileList of the current directory to cycle through the next files and check if they are indeed photospheres (not so nice solution).
  2. Instead of reading the XMP data based on the client's request, we could also register server-side checks for new files being stored, check if these files have XMP tags and store this in the database somehow. Then the client can request the list of photosphere files for a current directory and cycle through that. Probably best solution (as you only read the files once they are created/updated and not on each view), but a lot more work.

@ykutovoy
Copy link

Could it be realised?
photosphere plugin
If create for example "wind rose" at bottom and allow users to select image for direction (we could create "sreetview" replacement)

@R0Wi
Copy link
Member

R0Wi commented Feb 16, 2021

@ykutovoy is this related to the feature discussed here? Otherwise i'd kindly ask you to create a new issue and provide some additional information about the usecase.

@ykutovoy
Copy link

I suppose it is one of possible solutions to switch between images

@R0Wi
Copy link
Member

R0Wi commented Feb 16, 2021

Ok currently i don't see the connection between toggling between various images and creating metadata inside a particular image which allows me to kind of interact with that image? Or do you just mean to use this functionality to create two buttons inside the viewer for toggling? I think the controls are not the problem it's rather how to know which image will be the next, like stated in #11 (comment).

@ykutovoy
Copy link

Unfortunately, I'm far not a programmer. I.m just a happy user wich got such a cool app in nextcloud :) I can only provide user experience, and to hope somebody will do the app more comfortable for me.

Could we add button "move to...", if pressed, on raght side pops up list of files in directory, after selecting, its opens?

@R0Wi
Copy link
Member

R0Wi commented Feb 20, 2021

Thanks for the creative input @ykutovoy . I'll investigate in that improvement as soon as i have time for this 👍

@Thatoo
Copy link

Thatoo commented Sep 21, 2021

This ferature would be really nice indeed

@R0Wi
Copy link
Member

R0Wi commented Dec 31, 2023

FYI: With the new version for NC28 the XMP metadata is now extracted in the backend whenever a directory listing is opened. So the files list metadata now contains the XMP metadata for each jpg file, which is mandatory to implement something like the feature requested here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants