Suppport for BlurHash on placeholder
Are there any plans to add support for the format BlurHash for placeholders? At a minimum support for showing BlurHash images.
Considering variaties of ways to generate blured images, i am thinking a pluggable method for image module to support them would make better sense.
upvoted
This would make a great addition!
That would be nice.
agreed
would love to see any interest in this.
I will look into adding both thumbhash and blurhash soon as a PR.
Hi @M-GRV, that's a great option and enhancement.
I have personally combined Nuxt/Image with @unlazy/nuxt and think that was the best at the time.
Blurhash support for Nuxt/Image may be best to orient on the implementation of it in the unlazy project (so you don't have to re-invent the wheel):
https://github.com/johannschopplich/unlazy
Hi @M-GRV, that's a great option and enhancement.
I have personally combined
Nuxt/Imagewith@unlazy/nuxtand think that was the best at the time.Blurhash support for
Nuxt/Imagemay be best to orient on the implementation of it in theunlazyproject (so you don't have to re-invent the wheel):https://github.com/johannschopplich/unlazy
@chrisspiegl
I am currently using that, but there are times when I don't need to use lazy loading of images for above the fold headers etc, but I still need a placeholder of a thumbhash.
I included a PR, but the creator of unlazy just marked it as not planned, stating if you don't want an image lazy loaded, don't use unlazy, so I am forced to look elsewhere for this specific use case. I don't wish to maintain a separate fork and there is nothing else available.
Otherwise, I recommend unlazy.
This has been added to unlazy!
For clarification: the ability to “lazy load or not” has been added to unlazy.
The request still stays open for Nuxt/Image to add BlurHash support (or be based on unlazy as an alternative).