Artuu Imager

Allows you to set default sizes for photos uploaded to the forum and change their size in the url.

Incompatible with Flarum v1.8.5

Latest release 0.1.0

9 downloads

released on Jun 14, 2020

Tags

Flarum Imager

Allows you to set default sizes for photos uploaded to the forum and change their size in the url.

πŸ’Ό How does it work?

The extension creates its own folder (public/assets/imager), where it places images in a higher resolution. This extension allows you to set the size in the url, maximum up to the photo size. The default saving of photos (from flarum) also works.

πŸ“š What you should know

  • The images are in the above mentioned folder.
  • The url syntax is as follows
    • Favicon http://localhost/assets/favicon?s=64
    • Logo http://localhost/assets/logo?s=60
    • User avatar http://localhost/assets/avatars/{user_avatarUrl}?s=100
  • The variable ?s={size} in the url indicates the size of the image that should display the extension.
  • You can set up a group of users who may have a larger avatar size.

πŸš€ Installation

To download the extension you can use Bazaar or install it through composer:

composer require artuu/flarum-imager

✨ Demo

Screenshots from:

Screenshot from Imager Settings:

Imager Settings

πŸ”— Links

πŸ“ License

Copyright Β© 2020 Artuu.
This project is MIT licensed.


Extension created by @Artuu, the owner of My Kill

© 2024 Hyn by DaniΓ«l "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Extiverse is not affiliated to the Flarum project or Flarum foundation. · Images on Extiverse pages are from Unsplash.