Skip to content

Add the {size} template variable to the network-icon spec.#591

Open
sadiepowell wants to merge 2 commits intoircv3:masterfrom
sadiepowell:icon-size
Open

Add the {size} template variable to the network-icon spec.#591
sadiepowell wants to merge 2 commits intoircv3:masterfrom
sadiepowell:icon-size

Conversation

@sadiepowell
Copy link
Copy Markdown
Contributor

As discussed on IRC.

@jwheare
Copy link
Copy Markdown
Member

jwheare commented Mar 27, 2026

Might be worth adding something like

Servers advertising a URL with the {size} variable SHOULD serve a default size when the literal string {size} is requested, in order to support clients that do not perform URL template interpolation.

And change the client "MUST replace" to a MAY.

@jwheare
Copy link
Copy Markdown
Member

jwheare commented Apr 20, 2026

Will aim to merge this next week.

@emersion
Copy link
Copy Markdown
Contributor

Are there implementations of this?

@furudean

This comment was marked as off-topic.

@emersion
Copy link
Copy Markdown
Contributor

@furudean

This comment was marked as off-topic.

@jwheare
Copy link
Copy Markdown
Member

jwheare commented Apr 20, 2026

IRCCloud implements it.

image

Note in this example, the value is ignored and a different fixed size image is being returned, which is perfectly valid.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants