Imgur Upload, simple image upload from the editor
Pherinos I'm able to reproduce the issue but it seems to be a feature or a bug in Brave. The responses from Imgur have a correct CORS configuration, but Brave is then manipulating the response to enforce a stricter CORS configuration
Hi @matteocontrini, how can I using this extension with FreeFlarum?
- Edited
mathanhcong check yourself
https://www.freeflarum.com/extensions
https://www.freeflarum.com/docs/howto/enable-extension/
Just enable the extension.
Why the display style of the picture is different from your GIF after I upload the picture? In your GIT, it looks like the image is displayed in full size after uploading. You can check this problem on https://bbs.csur.fun/d/3-imgul
https://ws1.sinaimg.cn/large/b55e5057gy1g9xj812iolj20rk0gwdjk.jpg
Littlegolden when the image is larger than 1024px, a preview with width 1024px is shown instead of the full image, so that clients don't load the whole image uselessly. The image still occupies the whole width of the post anyway.
The styling I see on your forum is definitely not something that my extension does, so it depends on what other extensions you have.
Hello matteocontini,
Do use this plugin for local storage.
ozkan34 this extension uses Imgur.com for uploading images. If you want to use local storage, consider this other extension:
https://discuss.flarum.org/d/4154-flagrow-upload-the-intelligent-file-attachment-extension
I am already using this plugin.You are using imgur plugin on your site.
when I look at the images on your site, I see that they are saved in local storage.
my problem:
1) show loading progress can be added
2)Preview an image after upload
Can these features be added to the plug-in
ozkan34 About q2, when you reply someone in a post, you can preview your reply (include the img) in the post.
- Edited
ozkan34 You are using imgur plugin on your site.
No, I'm not
ozkan34 1) show loading progress can be added
It's already a feature of this extension.
EDIT: it doesn't show the percentage actually
ozkan34 2)Preview an image after upload
This is a Flarum feature. You can see the preview of the post beneath the post composer "window"
show loading progress can be added ?
https://discuss.flarum.org/d/4154-flagrow-upload-the-intelligent-file-attachment-extension
Flagrow upload, do you have this feature in the plugin
ozkan34 you mean the percentage of the upload progress? Last time I checked, no...
ozkan34 this extension (Imgur Upload) already has the same experience. It just doesn't show the upload percentage
matteocontrini
Thanks for be interested.
matteocontrini This extension looks amazing! I haven't tried it out yet. I'm guessing you used https://api.imgur.com for creating this extension. What if I want to use this for my forum that has ads? Doesn't Imgur charge money if you are planning to make money using their service?
therealsujitk according to their docs it seems so, but there's a "commercial" free plan anyway: https://rapidapi.com/imgur/api/imgur-9/pricing
- Edited
matteocontrini Yeah! I've noticed that too. But their ToS says that if they find you using their service commercially without registering at rapidAPI, they will ban you. So I guess it's safer to use your extension when it's not for commercial use.
Just an idea, maybe if you update the extension by registering under rapidAPI (free plan), it can be safely used for all.
therealsujitk this extension currently uses the standard API, and the API key must be set by the forum administrator. It could be possible to add support for the commercial version of the API, but I'm afraid I won't be able to do this in a short period of time. I'm currently very busy with university studies...