-
Notifications
You must be signed in to change notification settings - Fork 274
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
feat(imgix): format keys #364
Conversation
resolves nuxt#363
blurhash library used ? I couldn't see https://github.com/nuxt/image/blob/main/package.json |
@productfrontenddeveloper my understanding is that blurhash is a image format supported by imgix? What is the library we need to include and what functionality does it provide? |
imgix return blurhash -> 'eEC|aSROj=WAt:f-n#WXe-N4bJtRj]j[M{oNkXj[ozRjj^a$ayfl' and see loading etc with. https://blog.imgix.com/2021/01/26/blurhash https://github.com/woltapp/blurhash/tree/master/TypeScript |
@pi0 is it in scope for |
Thanks!
Nop. It happens on server side of imgix |
@pi0 It only freezes a key on the imgix side, you need to use it inside. so when we add this, the picture does not come back. When uploading a picture, you need to first take it and show it. You can show the image when the image is finished uploading. |
You are correct @productfrontenddeveloper. We still need placeholder support (#189) for loading strategy. Normally for providers not supporting blurhash, we use a pixel resized version of image but can also support native server blur ike this. Meanwhile this format can be useful for cases a static blurry version is desired like a banner background image. |
What I did in userland is this:
It works well imho, should I try to implement it in |
resolves #363