2d9c8b620f
Over a few upgrades, we've managed to break some of the default avatar logos you see when browsing code on opendev.org. After investigating ways to fix this up, we established that there isn't an exposed API for setting these, but we can do a simple query to point to logo files on disk. This implements that. One caveat is that the logos should be PNG files; particiularly we note that SVG files don't work reliably because they don't get served with the image/svg+xml mime-type. Change-Id: Ie6799de2fb27e09f936c488258dc1bd1c638c370
8 lines
256 B
ReStructuredText
8 lines
256 B
ReStructuredText
Set custom logos for organisations in gitea
|
|
|
|
Note that logos should be a PNG file. We've standardised on a 400x400
|
|
to keep it simple.
|
|
|
|
Images should respect the limits set by gitea; see
|
|
`<https://docs.gitea.io/en-us/config-cheat-sheet/#picture-picture>`_
|