diff options
Diffstat (limited to '68.md')
| -rw-r--r-- | 68.md | 11 |
1 files changed, 11 insertions, 0 deletions
| @@ -58,6 +58,9 @@ They may contain multiple images to be displayed as a single post. | |||
| 58 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"], | 58 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"], |
| 59 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"], | 59 | ["p", "<32-bytes hex of a pubkey>", "<optional recommended relay URL>"], |
| 60 | 60 | ||
| 61 | // Specify the media type for filters to allow clients to filter by supported kinds | ||
| 62 | ["m", "image/jpeg"] | ||
| 63 | |||
| 61 | // Hashtags | 64 | // Hashtags |
| 62 | ["t", "<tag>"], | 65 | ["t", "<tag>"], |
| 63 | ["t", "<tag>"], | 66 | ["t", "<tag>"], |
| @@ -67,4 +70,12 @@ They may contain multiple images to be displayed as a single post. | |||
| 67 | 70 | ||
| 68 | The `imeta` tag `annotate-user` places a user link in the specific position in the image. | 71 | The `imeta` tag `annotate-user` places a user link in the specific position in the image. |
| 69 | 72 | ||
| 73 | Only the following media types are accepted: | ||
| 74 | - `image/apng`: Animated Portable Network Graphics (APNG) | ||
| 75 | - `image/avif`: AV1 Image File Format (AVIF) | ||
| 76 | - `image/gif`: Graphics Interchange Format (GIF) | ||
| 77 | - `image/jpeg`: Joint Photographic Expert Group image (JPEG) | ||
| 78 | - `image/png`: Portable Network Graphics (PNG) | ||
| 79 | - `image/webp`: Web Picture format (WEBP) | ||
| 80 | |||
| 70 | Picture events might be used with [NIP-71](71.md)'s kind `34236` to display short vertical videos in the same feed. \ No newline at end of file | 81 | Picture events might be used with [NIP-71](71.md)'s kind `34236` to display short vertical videos in the same feed. \ No newline at end of file |