Support pour le service d'upload d'images ImgBB

Hello there

ImgBB.com provides support for websites to upload their images on their servers :

Upload plugin — ImgBB

I found this feature pretty interesting since it would allow site owners to save a lot of disk space.

Unfortunately this won’t implement properly into discourse, first because no icon appears in the text area toolbar for the “Upload images” button
image
(see the little greyed area at the middle)

Second, this will just implement the image as a small link, in a different way than the default image upload feature built in Discourse.

Could this be implemented as a plugin ?

This can be implemented as a plugin. If you have a budget, try posting in marketplace

A theme component should suffice for the upload component, but by default Discourse will download remote images to ensure they aren’t deleted.

Make sure to add imgbb to disabled image download domains after checking their policy about when images are deleted if you implement this upload widget.

4 « J'aime »

I had a different idea when I said plugin.

e.g.
Upload to Composer > file is saved to imgBB > Embedded into discourse like discourse already implements image uploads to S3.

I guess that was an overkill idea :stuck_out_tongue:

3 « J'aime »

I would instead try using backblaze b2 for an S3 bucket. The first 10gb is free.

1 « J'aime »

I guess they only allow 1GB transfer out per day for free.

1 « J'aime »

Darn. Still a great deal for backups.

1 « J'aime »

Yes that’s what I meant

Other answers were helpful as well tho

I don’t have much of a budget but I believe this would be useful for everyone.

I could put like ten dollars into it, else.

J’aimerais beaucoup que ce soit un plugin / composant - a-t-il été implémenté ?

Cela ne semble pas être le cas.

Je suppose qu’un tel plugin coûterait entre 500 et 1000 dollars à développer, ce qui représente de nombreuses années d’utilisation de Digital Ocean Spaces (ou de l’un des autres fournisseurs dans Configurer un fournisseur de stockage d’objets compatible S3 pour les téléchargements). En fait, il serait probablement moins cher d’utiliser Spaces que de payer pour maintenir le plugin décrit s’il existait.

1 « J'aime »