-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Discover: Display a random set of pictures #153
Comments
Great idea! Since we still change the database and index a lot, we don't test with many pictures - but for large collections, a random view makes sense. |
Glad to see how this project will evolve. |
Our idea is to add a "Discover" area where you can find photos by similarity, by color, by season or just random. This is a very first draft: Adding a random option to the regular search might turn out to be tricky as it needs to work together with the other filters and with all database backends. When doing a database search, you want to make the result set as small as possible to fit everything in memory. So first selecting as much as possible just to randomly change position (basically removing results from the top) is not a good strategy. In fact you expect a different result every time you click the search button plus when you scroll down to load additional results, photos must not repeat. Maybe easier done in Go and then just tell the db to return the randomly selected IDs, although I didn't spend much time investigating other solutions just yet (given the amount of other work we have to do). |
It should enable users to find photos by similarity, by color, by season or just randomly. Signed-off-by: Michael Mayer <michael@liquidbytes.net>
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
Use this flag to test new features before they are stable. Signed-off-by: Michael Mayer <michael@liquidbytes.net>
FYI: Discover area probably won't be part of the release as we received very little feedback and no pull requests so far. |
Would it be possible to implement just the "random sort" option in search view as the discover feature is not going ahead? Even if it is "truly random" and not the "pseudo random" where we expect to always see different images. The idea of continually scrolling and seeing more and more random images would be great. While assessing different solutions for self hosting photos I tried PhotoStructure. PhotoPrism is better and has a better roadmap IMO, but one thing I loved was that the home view of PhotoStructure defaulted to random. I found so many nice memories while trying it out. |
We would be happy to sponsor a "random photos" feature in PhotoPrism. We think it is a great idea. A use case scenario could be a family that has taken tens of thousands of pictures over the years, and would like an evening of watching say 500 random pictures. It would be nice to be surprised by old memories, perhaps from folders you would not normally revisit. An important aspect of a "random gallery" or "random slideshow", is that it should be possible to select which folders to include to sample random images from. Let's say images are organized in a folder structure on disk with Years as the top structure, and then subfolders for Events under each Year. It should be possible to select "only sample images from years 2017, 2018, 2019, 2020" or "only include images from these subfolders / tree-branches". This could be accomplished by means of tickboxes in a tree structure. Could we get in direct contact, and discuss appropriate funding offline? |
@bernsel feel free to reach out via hello@photoprism.app |
I have emailed you today. |
Thanks! Sorry for the wait, replied today :) |
An API for getting a random photo (or set of photos) would be nice too :-) |
Hi guys, love this project! Is this feature meant to be similar to Apple Photos "for you" tab or Google Photos "Highlights"? I am asking because that would be more sophisticated than just pure randomness. Best regards! |
@banoslo This feature is about showing a random sample of photos, which would be a nice feature for a landing page. https://docs.photoprism.app/user-guide/organize/moments/ Other related issues: |
Signed-off-by: Michael Mayer <michael@photoprism.app>
In the last commit, we added support for a "random" sort order to our API. However, please note:
|
Wow, happy to see this wonderfull feature go live. |
Wow, thanks! So cool to watch photo library slide show using library/browse?order=random |
Thanks for the information, it can be tested on the demo: https://demo.photoprism.app/library/browse?order=random |
Is it possible to start the random slideshow automatically in fullscreen mode by loading an "extended" URL? We want to use the (very) old tablet in the living room as an digital image frame. at the moment I'm loading the URL, and I still need to tap on an image, press "play" and "fullscreen mode". It would be great if this would be possible. Thanks! :) |
Hi,
We could rediscover and enjoy memories you haven't seen in years by displaying a random "sample" of images with a new "Random" option among the possible choices in "Sort By" list.
The text was updated successfully, but these errors were encountered: