Ok if you were wondering what all those metadata image tests were about: In the next build, Damus image uploads will save blurhash and image dimensions in the post, allowing clients to use this information to put a blurry placeholder that fades into the real image when it loads. How neat is that!? This is done in a backwards compatible way so clients can ignore this if they don’t need it, and urls won’t break! Check it out:

Replies (35)

I see you're using an android test app for this. Don't think I didn't notice 👀 image
Also having the blurhash in the event allows me to start building the blurhash image immediately after I get the note over the wire.
DJ Booth's avatar
DJ Booth 2 years ago
Yeah that’s a really nice effect. 🔥
Default avatar
nobody 2 years ago
Do they even get notifications?
I like it! I implemented image loading for gossip client and was thinking it would be helpful to have metadata about the images. Also interesting would be to know if when several images are listed if the user intended them to be in a carousel (could be a metadata tag "suggest_carousel").
Well done with this backwards compatible update. Can blurhash be also used to check if the image has been changed or modified?