matteocontrini thank you for your reply!
Imgur Upload, simple image upload from the editor
- Edited
@matteocontrini once the image is upload if an user delete the post but see the image still exist on imgur.com how admin can delete it? There is no way to delete the image uploaded by the user from the web? This is in the case user ask to remove content uploaded by himself... seems admin has no power.
peopleinside thanks for the question. It's technically possible, as the Imgur API allows to delete an image that was previously uploaded by the "application".
peopleinside This is in the case user ask to remove content uploaded by himself... seems admin has no power.
Interesting scenario... I think this is a particular case though, because the image is uploaded to Imgur and not to your forum. So it's actually Imgur that is holding your information, and it's their privacy policy and terms of service that apply. And they're not good to be honest, they basically say that they have an unlimited license on the images you upload, until you delete them.
- Edited
thanks for the question. It's technically possible, as the Imgur API allows to delete an image that was previously uploaded by the "application".
How to do that? I am unable to manage uploaded photos from the community.
Interesting scenario... I think this is a particular case though, because the image is uploaded to Imgur and not to your forum. So it's actually Imgur that is holding your information, and it's their privacy policy and terms of service that apply. And they're not good to be honest, they basically say that they have an unlimited license on the images you upload, until you delete them.
This should be added in the terms of service of a community that use your plugin... but still not good. User upload an image by using the Flarum community so can give the responsability of the uploaded image to the community where they upload the image.
Before you said is possible to remove / manage this image uploaded by API ? I looked into the site but no image uploaded by API is present. Don't know where look.
peopleinside I checked better, and you actually can't do that.
To delete an image uploaded anonymously (this is how images are uploaded right now with this extension), you need the deletehash
, which is a string that Imgur gives to each image and that you can then use to delete the image it belongs to. This value is currently not stored by the extension, so the deletehash
is lost as soon as the image is uploaded. That value is required to delete public anonymous images.
Uploading images not anonymously so that they are saved to your account would be possible, but that would complicate things a lot...
So for now I can't actually thing of an easy way to manage uploaded images, sorry.
matteocontrini thank you for the answer. This managing of the images can be improved in your extension? Is something you can improve for have a better control of the uploaded content?
peopleinside actually the aim of the extension is to be simple. If I had to store a reference to all the uploaded images I would need to create a database table for it. But there's already flagrow/upload that does exactly that (even when uploading with Imgur), so... not sure
[deleted]
matteocontrini It would be fine, If only certain users or moderators are allowed to use.
I tried to set local upload and imgr upload on flagrow/upload but is not working. I will ask to the developer.
- Edited
@matteocontrini Could you do this addon for vBulletin 4.2.5?
(I would be glad to pay you for this job )
neogeo I don't think so, I have no experience with vBulletin...
matteocontrini
ru.yml
imgur-upload:
admin:
settings:
title: Imgur настройка загрузки
forum:
upload: Загрузить изображение
loading: Загрузка...
done: Готово!
error: Ошибка
panikajo thank you, published as v3.3.0.
Update with composer update matteocontrini/flarum-imgur-upload
Works great! Thanks a lot
[deleted]
- Edited
it is great, thanks for that. i have a suggestion. bbcode embed function can be added to the add image button? fof formatting is simply does that process but images are clickable. with [img] tags, images are non-clickable. so I prefer to use bbcode. also we have already an add image button with extension. i think if it can embed images, it will be more useful.
[deleted] I'm not sure what you mean. This extension currently embeds images with BBCodes and puts a link so that one can view the original image on Imgur. What would be you request?
[deleted]
- Edited
matteocontrini i'm talking about using without upload, just like a url inserter for external images, as a second use option.
[deleted] I see. While it's certainly possible, it's a bit out of the scope of this extension...
[deleted]
- Edited
matteocontrini you're right, i thought your extension can work two sided and could fix that lack. in almost all wysiwyg editors that upload icon is working multifunctional. unfortunately flarum editor has a shortcoming.