Skip to content

Thumbnail parameter#2257

Merged
KernelDeimos merged 3 commits intomainfrom
eric/2619_thumbnail
Jan 9, 2026
Merged

Thumbnail parameter#2257
KernelDeimos merged 3 commits intomainfrom
eric/2619_thumbnail

Conversation

@KernelDeimos
Copy link
Copy Markdown
Contributor

No description provided.

There was a configuration parameter for this but it isn't being used and
has the incorrect name in `config.js`. I decided to keep the old check
here anyway because having support to configure a lower size limit could
come in handy.

I set the limit to 2MiB through the following logic:
- largest icon size I've ever heard of is 512px
- 512*512*4 (4 color channels) is 1048576 (1MiB)
- increase to next MiB just to be safe
@KernelDeimos KernelDeimos merged commit e07d1ae into main Jan 9, 2026
4 checks passed
@jelveh jelveh deleted the eric/2619_thumbnail branch May 1, 2026 20:06
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.

1 participant