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

Feature Idea: Add Blur hash to image uploads #2024

Closed
xRealNeon opened this issue Mar 9, 2023 · 2 comments
Closed

Feature Idea: Add Blur hash to image uploads #2024

xRealNeon opened this issue Mar 9, 2023 · 2 comments

Comments

@xRealNeon
Copy link

This could be useful to some users.
https://blurha.sh/

The Blur hash could be generated as the user uploads the image.

@ganigeorgiev
Copy link
Member

ganigeorgiev commented Mar 9, 2023

Thank you for the suggestion but for now this is out of the scope of v1.

If you want to show a blurred image while loading the original, you can request a small thumb and then expand and blur it with CSS.

@danibjor
Copy link

You can easily create the BlurHash on the client, and when saving the file, store the BlurHash alongside the file on that record. Did this a while back, worked like a charm.

You then get the BlurHash when fetching the record, so it's ready to use. No need to go the extra mile to create it every time / or fetch thumb to create it. It's only a few characters (20-30 or so), so it's easy to defend storing it on the record next to the file.

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

No branches or pull requests

3 participants