Skip to content

Interface: IProfileLimits ​

Defined in: types/instance.ts:108

What an instance lets people put on their profiles, published so the profile editor can check a picture or stylesheet before uploading it. Each picture limit is already capped by the general file limit.

Properties ​

PropertyTypeDescriptionDefined in
animatedImagesbooleananimated GIF and WebP pictures are acceptedtypes/instance.ts:113
avatarMaxBytesnumber-types/instance.ts:109
backgroundMaxBytesnumber-types/instance.ts:111
bannerMaxBytesnumber-types/instance.ts:110
customCssobject-types/instance.ts:119
customCss.enabledboolean-types/instance.ts:120
customCss.maxBytesnumber-types/instance.ts:121
videoImages?booleanWebM video is accepted for profile pictures and banners: the instance allows it and its server can process video. Absent on older instances.types/instance.ts:118

Released under the GNU Affero General Public License v3.0.