I was already lurking this repository before you guys posted it here. :p
This sounds amazing, mainly because of the local upload. I will try it out when I get home. Thank you.
VIRUXE local storage is not yet available, it will be implemented before the first release 0.1.0 though.
Update: version 0.1.0 released!
The links are not served over HTTPS, known issue. Fixing it as soon as tomorrow 😉
A W E S O M E
You did a great job guys! 😃
Update: 0.1.1 released.
Fixed the https issue. Now imgur links are forced over https. Local ones are served on the same protocol as the loaded page.
In order to conform to best practices, we renamed the package to flagrow/flarum-ext-image-upload please update your composer.json files. The old (non-prefixed) package is marked as abandoned.
I just released 0.1.3 which now runs on the new package name (flagrow/flarum-ext-image-upload). This fixes the upload url and some other things.
I'll moderate all issues solved in this thread.
luceos You update faster than i install 😃
Great job !
HavocK that's one benefit of working together in Flagrow with matpompili ; a shared responsibility of maintaining quality packages!
Thanks! I've been waiting for an image attach extension since the beginning.
Local storage and resize works.
Imgur gives an error on upload though. I didn't configure an imgur client-id, is that required?
erickoh yes that's required if choosing imgur.
We're closing in on release 0.2.0 which is a major overhaul but still features the same upload services.
New in this version:
Please feel free to send PR for translations! Also any feedback is appreciated, as always 😃
With a big thanks to @Toby and @Franz for providing some great feedback. 0.2.0 reflects a lot of their feedback.
Please also note for the cloudinary upload method to be selectable you need to run the following composer command in the Flarum installation directory:
composer require cloudinary/cloudinary_php
Image upload? Looks like normal Markdown to me. Unless you're uploading the image to the local server and it's entering the image files location as the url... .-.
NiuWang related to your feedback, I updated the OP and the readme on github. When you enable the extension a new button is added to the post composer. If you click it and select an image the image will be uploaded to the configured service - by default this is local storage aka your own Flarum installation. Once the upload is done a markdown image is added linking to the newly uploaded image.
Released 0.2.0-beta.2 fixing a serious issue where creating discussions was impossible due to a js error.