listmonk icon indicating copy to clipboard operation
listmonk copied to clipboard

Cloudinary API Support for Media Uploads

Open candideu opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. I've been having a lot of trouble getting S3 compatible apps like Backblaze to work for image uploads, and have no desire to use Amazon's option. See: https://github.com/knadh/listmonk/issues/617

Describe the solution you'd like I'd love to see an option to make use of Cloudinary's Upload API: https://cloudinary.com/documentation/image_upload_api_reference. Another app which makes use of this is Ghost: https://ghost.org/integrations/cloudinary/

candideu avatar Aug 31 '22 21:08 candideu

@rhnvrm this commit (https://github.com/knadh/listmonk/pull/640) should've added Backblaze b2 support, right?

knadh avatar Sep 01 '22 04:09 knadh

I've just tried it again today, and no luck:

image

Any time I try the s3 file upload, there's some kind of error. For reference, when I've tested this in the past, I was able to use the same credentials on nocodb's Backblaze integration, and it worked.

I usually upload my media to Cloudinary and copy the link, but it would be nice to be able to directly upload to Cloudinary from Listmonk.

candideu avatar Sep 01 '22 05:09 candideu

@candideu Yes, b2 should ideally work after #640

Can you share the version of listmonk you are running?

rhnvrm avatar Sep 05 '22 03:09 rhnvrm

@rhnvrm v 2.2.0, hosted on Railway.app

candideu avatar Sep 05 '22 17:09 candideu

Hi

I tested backblaze keys with the listmonk UI locally and it seems to have worked and successfully uploaded the file.

Here are a sample settings.

image

And the upload page.

image

rhnvrm avatar Sep 18 '22 12:09 rhnvrm

Thanks for sharing these screenshots @rhnvrm! I finally got it to work today. Thanks to your screenshot, I realized that I was missing the "-002" in the region, the bucket name. Setting my Bucket type to "Public" (both on Backblaze and Listmonk) also helped with accessing the files.

That said, having the option to also use Cloudinary with Listmonk would also be great!

candideu avatar Sep 29 '22 14:09 candideu