PierreThibault you can find the instructions in the first post
Imgur Upload, simple image upload from the editor
matteocontrini Sorry for that. It is working well now.
Hi I'm having some problems getting the Client ID. It says Error Invalid Captcha as soon as I go to the register an application page and then when I do fill out the application it says ERROR: Bad website scheme. Did you forget 'http://' or 'https://'?
matteocontrini Also note that there's apparently a bug in the interface, so you might need to select the second option and then the third option, otherwise you will be asked to fill the "Authorization callback URL".
matteocontrini Got it thanks!
add to be able to save to your server
ART994 hello, this extension is called "Imgur" for a reason so it will only work with Imgur, sorry. You can use FriendsOfFlarum Upload
Hi, is it possible to make the dimensions "standard" for the forum? I just don't want someone to upload a picture that covers the whole page, so it would be nice to have an option to select the image dimensions that appear in the posts
This is a great plugin, but would it be possible to define a folder (accessible via the imgur user account associated with the API key being used) so that files uploaded by the Flarum forum can be managed and monitored there via the GUI?
I am concerned that someone could upload unsuitable content, essentially using my credentials, and I have no way to monitor / ban / remove the offending content from the internet.
ajmuir the uploaded content is not associated to your account, as far as I know, and they can upload that content to Imgur anyway if they want
matteocontrini The images are uploaded using the API key associated with my account, Imgur will know who they’ve assigned the key to.
- Edited
@matteocontrini maybe possible to implement this fuctions as and option in your extension with update some bug?
"allows you to add Image and Link without typing markdown code. It will show a pop-up in which you have to enter Title and URL and Click OK and you are done."
Hi i just installed the plugin but when I try to upload any kind of picture(jpg,png etc) it gives an error and it doesn't go through. What could it be the issue?
aydinknowz what's the error? Anything in the Flarum log file at <flarum>/storage/logs
?
aydinknowz did you follow the configuration instructions? Could you take a look at the Dev Tools console? You should see the error from the Imgur API there.
matteocontrini silly me, I didn't set the Imgur client id. Unfortunately, they don't let me create an account from Turkey. So I had to disable it. Thank you.
- Edited
Wonderful extension, thank you very much!
(hoping imgur will never go down, because with that I will use it a lot...)
I was not a fan of the link on the images, but it's really easy to remove it with a little CSS so I don't think it would need any option:
.Post-body a[href*="imgur"] {
cursor: default;
pointer-events: none;
border-bottom:none;
}
TB54 hi, there's already an option to not have a link on images: https://discuss.flarum.org/d/18491-imgur-upload-simple-image-upload-from-the-editor/133