addozhang / obsidian-image-upload-toolkit

An obsidian plugin for uploading local images embedded in markdown to remote store and export markdown for publishing to static site.
MIT License
32 stars 7 forks source link

FR: add ImageKit endpoints as upload target #12

Closed andrey-jef closed 7 months ago

andrey-jef commented 8 months ago

Hi,

This is a Feature Request.

imageKit is an alternative of cloudinary.

Do you think it's feasible to add ImageKit as an upload target?

I read their Upload File API but still not figure out how to translate these info into a feasible config code.

Thanks

addozhang commented 7 months ago

@andrey-jef Please try with 0.5.0 which supporting imageKit now.

andrey-jef commented 7 months ago

@andrey-jef Please try with 0.5.0 which supporting imageKit now.

Hi @addozhang

Thank you so much. It works.

Could you please also add a parameter to specify the destination folder in imagekit library, where the local image will be uploaded to?

With the current version of plugin (0.5), the uploaded image is sent directly to Files section in ImageKit.

In the admin page of ImageKit, I can manually right click and move each files to a specific folder. But if the plugin has an option to upload to a specific directory, will be much more convenient.

addozhang commented 7 months ago

@andrey-jef Got it and 0.5.1 released. You can specify folder name in setting panel now.

andrey-jef commented 7 months ago

Thank you for your time investigating the docs and implementing this feature. It works flawlessly on my Win pc.