Vor 4 Stunden
Eine neue Erweiterung wurde veröffentlicht: Avatar Resize (MyBB 1.8.x)
Zitat:Features
- Automatic resizing of avatars during upload in the User Control Panel.
- ACP settings: enable/disable, max width/height, JPEG quality.
- Supported formats: JPEG, PNG, GIF (transparency preserved for PNG/GIF).
How it worksThe plugin hooks into. After MyBB completes the avatar upload, the image is proportionally downscaled if it exceeds your maximum values. The new dimensions are stored inCode:usercp_do_avatar_end. Smaller images are left unchanged (the dimensions field may be updated).Code:users.avatardimensions
Installation
1. Upload the files from thefolder into your MyBB root (e.g., via FTP).Code:upload/
2. Go toand activateCode:ACP -> Configuration -> Plugins.Code:Avatar Resize
3. Configure under:Code:ACP -> Configuration -> Settings -> Avatar Resize
- Enabled: on/off
- Max width (px): default 200
- Max height (px): default 200
- JPEG quality (0–100): default 85
Notes
The plugin overwrites the uploaded file; no backup of the original is kept.