-
-
Notifications
You must be signed in to change notification settings - Fork 938
Closed
Labels
Milestone
Description
Requirements
- Is this a feature request? For questions or discussions use https://lemmy.ml/c/lemmy_support or the matrix chat.
- Did you check to see if this issue already exists?
- Is this only a feature request? Do not put multiple feature requests in one issue.
- Is this a backend issue? Use the lemmy-ui repo for UI / frontend issues.
- Do you agree to follow the rules in our Code of Conduct?
Is your proposal related to a problem?
Automatically generated thumbnails are currently not associated with the user triggering their creation.
This prevents safely deleting thumbnails linked to a user's posts.
Describe the solution you'd like.
Similar to how local user media uploads are already tracked it would be good to store thumbnail URLs in a similar way. Unlike regular user uploads, thumbnail creation can also be triggered by remote users, so this will require matching person.id rather than local_user.id.
Describe alternatives you've considered.
Expensive SQL queries to determine whether other references to the same image exist.
Additional context
Thumbnails are already tracked in the local_image table, but there is no user associated with them.
wereii