diff --git a/17.md b/17.md index 3ccdc772..6e44b0d8 100644 --- a/17.md +++ b/17.md @@ -80,6 +80,7 @@ Kind `15` is used for sending encrypted file event messages: - `ox` containing the SHA-256 hexencoded string of the file before encryption. - `size` (optional) size of the encrypted file in bytes - `dim` (optional) size in pixels in the form `x` +- `thumbhash`(optional) the [thumbhash](https://evanw.github.io/thumbhash/) to show while the client is loading the file - `blurhash`(optional) the [blurhash](https://github.com/woltapp/blurhash) to show while the client is loading the file - `thumb` (optional) URL of thumbnail with same aspect ratio (encrypted with the same key, nonce) - `fallback` (optional) zero or more fallback file sources in case `url` fails (encrypted with the same key, nonce) diff --git a/68.md b/68.md index 918378a9..89b95894 100644 --- a/68.md +++ b/68.md @@ -31,6 +31,7 @@ They may contain multiple images to be displayed as a single post. "imeta", "url https://nostr.build/i/my-image.jpg", "m image/jpeg", + "thumbhash zOcFFIIKmXdCinaXaHcmcHUFSA==", "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", "dim 3024x4032", "alt A scenic photo overlooking the coast of Costa Rica", @@ -42,7 +43,7 @@ They may contain multiple images to be displayed as a single post. "imeta", "url https://nostr.build/i/my-image2.jpg", "m image/jpeg", - "blurhash eVF$^OI:${M{o#*0-nNFxakD-?xVM}WEWB%iNKxvR-oetmo#R-aen$", + "thumbhash zOcFFIIKmXgzmWaXWIcmcFQEGA", "dim 3024x4032", "alt Another scenic photo overlooking the coast of Costa Rica", "x ",