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
Requires
- flarum/core: ^0.1.0-beta.14
This package is not auto-updated.
Last update: 2024-11-18 10:00:00 UTC
README
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