Supporto per il servizio di caricamento immagini 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 Mi Piace

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 Mi Piace

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

1 Mi Piace

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

1 Mi Piace

Darn. Still a great deal for backups.

1 Mi Piace

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.

Mi piacerebbe che questo fosse un plugin / componente - è stato implementato?

Non sembra.

Suppongo che lo sviluppo di un plugin del genere costerebbe tra i $500 e i $1000, che sono molti anni di Digital Ocean Spaces (o di qualsiasi altro provider tra Configura un provider di archiviazione oggetti compatibile con S3 per i caricamenti). Infatti, sarebbe probabilmente più economico utilizzare Spaces che pagare per mantenere il plugin descritto, se esistesse.

1 Mi Piace