Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.39 veröffentlicht (02.06.25)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Avatar Resize (MyBB 1.8.x)
#1
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
Code:
usercp_do_avatar_end
. After MyBB completes the avatar upload, the image is proportionally downscaled if it exceeds your maximum values. The new dimensions are stored in
Code:
users.avatardimensions
. Smaller images are left unchanged (the dimensions field may be updated).


Installation
1. Upload the files from the
Code:
upload/
folder into your MyBB root (e.g., via FTP).
2. Go to
Code:
ACP -> Configuration -> Plugins
and activate
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.
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  Resize Images MyBB.de Bot 94 23.513 03.02.2020, 18:34
Letzter Beitrag: derberliner