Closed recspert closed 1 year ago
Hi, I never heard of cloudinary before. I am now registering a cloudinary account to dig out what happened. :)
Thanks a lot!
They have an example on POSTMAN, here's the direct link
I used their example, and was able to successfully upload an image.
I used the following parameters:
file
: \<uploaded local file>
upload_preset
: \<my upload preset for obisian>
api_key
: \<my cloudinary api key>
And it worked fine. :) I also tried to provide the same info in the Upload body
field in the plugin, but it still hangs.
Note, I updated my initial description: removed timestamp
field, added api_key
field, as these are the settings that worked for me in the POSTMAN
Hey, I find the reason. Please add a {}
to the Upload Header
filed, then it will work.
The current version cannot handle null Upload Header
. I will fix it in the next version.
Thank you for your feedback. :)
BTW, this is my upload_preset setting:
And this is my obsidian-image-uploader setting:
I will disable this upload_preset several hours later for security reasons.
Wow! That was quick! :) It works! Thanks a lot!
I had similar settings for the unsigned upload. Thanks for confirming!
LoL, have a nice day. I will close this issue.
I'm trying to configure uploads via cloudinary api. I followed instructions in another plugin to enable unsigned uploads as described here.
Now, I'm trying to configure the plugin settings. Currently I have:
Api Endpoint
Upload Header
Upload Body
When I try to paste an image in an obsidian note the app simply freezes. I have to kill obsidian process. What should I modify to make the plugin work as expected?