matteocontrini MohdKhan I'm afraid I can't guarantee that, I'm too busy with a lot of other stuff that has priority 🙁 askvortsov thanks, I'll test again. Do you mean that when pasting an image that is a link the paste callback won't be "called"? That was the problem, so the image was added twice, once by the rich text editor and once by this extension
askvortsov matteocontrini Unfortunately, there's an incompatibility with the paste to upload feature I'm unable to resolve, so it's now an opt-in feature which can be enabled in the extension settings. Btw, I believe I may have fixed this over in rich text, when I disabled pasting images as base64 (pasting image links will still include the image, but there's no reason to upload an image if it's already a link that's hosted somewhere, I suppose?)
MohdKhan actually, I'm running an educational platform using Flarum and Teachers have to post multiple images for students. If multiple selection enabled, it's helpful for them...
askvortsov matteocontrini If the image is already a link, why would we want to upload it to imgur when we could just include the existing link?
MohdKhan matteocontrini I'm afraid I can't guarantee that, I'm too busy with a lot of other stuff that has priority no issue, just keep it somewhere in your to do list.
matteocontrini askvortsov I'm not saying that... But I have to check the code because I don't know what happens exactly when a link-image is pasted, it could be it's not handled by this extension altogether. In that case the problem is solved as you said
ceshi1 Can someone be so kind to support me , after I enable it in the free flarum, the picture can't be shown directly, the issue is still the link, is it possible to show the uploaded picture directly ? my url is https://xinglan.flarum.cloud/d/4-test-for-uploading-pic
ceshi1 matteocontrini My god, it works! I can't be more excited ! thank you so much . it would be great if there will be a reminder in the 1st line of imgur: please make sure enable BBcode first
matteocontrini ceshi1 I thought it was marked as a dependency so that you cannot enable Imgur Upload without having BBCode enabled. I'll make sure to check before releasing the next update 🙂
achedd Problem 1 - Root composer.json requires matteocontrini/flarum-imgur-upload 3.8 -> satisfiable by matteocontrini/flarum-imgur-upload[v3.8.0]. - matteocontrini/flarum-imgur-upload v3.8.0 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it does not match your minimum-stability. Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions. What should I do?
Hari achedd are you trying to upgrade flarum core to v1.0 ? this extension is not compatible with flarum v1.0 if you want to goto v1.0 you should uninstall it. composer remove matteocontrini/flarum-imgur-upload use fof/upload instead of this extension with flarum in v1.0
Justman10000 matteocontrini Outdated - Root composer.json requires matteocontrini/flarum-imgur-upload ^3.8 -> satisfiable by matteocontrini/flarum-imgur-upload[v3.8.0]. - matteocontrini/flarum-imgur-upload v3.8.0 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it does not match your minimum-stability.
matteocontrini I will not have a minute of time for at least the next week, I'm sorry. If someone wants to contribute I'm happy to merge PRs and release a new version, but I won't be able to test it. Thank you for your understanding.