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

Reset thumbnail if cover photo has been removed from album #127

Open
wants to merge 4 commits into
base: preview
Choose a base branch
from

Conversation

kvalev
Copy link
Owner

@kvalev kvalev commented May 17, 2023

  • manual album
  • moment/month/state/country
  • folder
  • label
  • smart album

related to #2

@kvalev kvalev added the enhancement New feature or request label May 17, 2023
@kvalev kvalev temporarily deployed to uffizzi May 17, 2023 00:52 — with GitHub Actions Inactive
@github-actions
Copy link

github-actions bot commented May 17, 2023

Uffizzi Ephemeral Environment deployment-26834

☁️ https://app.uffizzi.com/github.com/kvalev/photoprism/pull/127

📄 View Application Logs etc.

⏰ This Preview will be destroyed in 48 hours at: Mon May 29 14:55:43 UTC 2023

What is Uffizzi? Learn more!

@kvalev kvalev temporarily deployed to uffizzi May 18, 2023 01:30 — with GitHub Actions Inactive
Previously the method only updated the album covers for manual, folder and month
albums. The update method has been extended to also support the missing album
types - moment, state and country.
Update the thumbnail image for both "dynamic" album types (albums that use a
filter to determine the album photos):
- smart albums
- label-based moments

The process is not optimal, as it needs few queries per album, but most people
probably dont have that many dynamic albums without a manually set thumbnail, so
it should be fine.
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

Successfully merging this pull request may close these issues.

1 participant