mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-09 22:09:06 -05:00
Update 93.md
This commit is contained in:
parent
c84193759e
commit
18d20210c1
9
93.md
9
93.md
|
@ -4,11 +4,12 @@ NIP-93
|
|||
Profile Gallery
|
||||
-----------------
|
||||
|
||||
This NIP defines curatable profile galleries that might be used across clients. The intention is that users might curate a gallery in their profile (or somewhere else) to show some of their visual content of choice, such as art, photographs etc.
|
||||
This NIP defines curatable profile galleries to be used across clients. The intention is that users might curate a gallery in their profile (or somewhere else) to show some of their visual content of choice, such as art, photographs etc.
|
||||
|
||||
The purpose of this NIP is to define an event Kind for Profile Galleries. A Gallery entry is a Kind 1163 Event consisting of an `e` tag and an `url` tag. The `url` tag must direct to a media file (such as an image or video) that will be shown in the gallery. The `e` tag should direct to a note containing this media file. The `content` field can contain an optional caption.
|
||||
The purpose of this NIP is to define an event Kind for Profile Galleries. A Gallery entry is a Kind 1163 Event consisting of an `url` tag and an optional `e` tag. The `url` tag must direct to a media file (such as an image or video) that will be shown in the gallery.
|
||||
The `e` tag should direct to a note containing this media file. The `content` field can contain an optional caption.
|
||||
|
||||
Additionally, besides the `e` and an `url` tags, the event may optionally contain NIP94 File Metadata tags as defined in NIP94.
|
||||
Additionally, besides the `url` and `e` tags, the event may optionally contain NIP94 File Metadata tags as defined in NIP94, such as blurhash, dimensions, hash, dim and size etc.
|
||||
|
||||
|
||||
|
||||
|
@ -20,8 +21,8 @@ Additionally, besides the `e` and an `url` tags, the event may optionally contai
|
|||
"kind": 1163,
|
||||
"tags": [
|
||||
[
|
||||
["e", <event id>, <relay-url>],
|
||||
["url", <string with URI of file>],
|
||||
["e", <event id>, <relay-url>],
|
||||
]
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user