luuhai48/avatar-support

Support others type of image when uploading avatar

Installs: 47

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:flarum-extension

v1.0.1 2020-12-20 15:09 UTC

This package is not auto-updated.

Last update: 2024-11-04 09:50:48 UTC


README

License Latest Stable Version

A Flarum extension. Support others type of image when uploading avatar

Installation

Setup HEIC converter server

You will need to setup a node server to convert the heic image to png.

You can clone and run the docker image from below, or use the code inside, deploy to AWS lambda or somewhere else.

https://github.com/luuhai48/node-heic

Install the extension

composer require luuhai48/avatar-support
  • Enter the processor_url inside the setting modal and start upload your avatar. It will be the url to your HEIC converter server.

Updating

composer update luuhai48/avatar-support

Links