Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature]: 上传接口参数指定图床配置? #151

Closed
3 tasks done
toyo2333 opened this issue Jan 29, 2024 · 2 comments
Closed
3 tasks done

[Feature]: 上传接口参数指定图床配置? #151

toyo2333 opened this issue Jan 29, 2024 · 2 comments
Assignees

Comments

@toyo2333
Copy link

前置阅读 | Pre-reading

PicList的版本 | PicList Version

最新

系统信息 | System Information

Windows

功能请求 | Feature request

我由2个Obsidian的Vault,一个是note,一个是blog。我在R2的的桶里建立了2个文件夹,一个是note,一个是blog。我在plist里设置了2套配置,分别传到这两个不同的文件夹。当我打开笔记vault的时候我要去plist里把默认上传改为note的配置,当我打开博客vault的时候,我要去plist里把默认上传改为blog的配置,这样对应的图片在才能传到给自的文件夹里保存。

有没有可能,在配置image auto upload的时候 可以填写对应的配置,或者在命令行里 可以带参数。

这样我就一次性的就设置好了。不用每次去piclist里切换或者忘记切换导致传错了。

我这种情况不知道常见不常见,讨论下。

@Kuingsmile
Copy link
Owner

Kuingsmile commented Jan 29, 2024

进入配置后,点击这个复制API,然后拷贝到插件对应的上传接口设置里就行。复制出来的格式类似于
http://127.0.0.1:36677/upload?picbed=local&configName=Default
其中的picbed和configName两个参数就是用来指定图床和配置的,这样即使PicList的当前图床和配置不符合,也依然会上传到你的接口指定的图床里。

image

@Kuingsmile Kuingsmile changed the title [Feature]: 外部编辑器调用上传的时候参数指定图床配置? [Feature]: 上传接口参数指定图床配置? Jan 29, 2024
@Kuingsmile Kuingsmile pinned this issue Jan 29, 2024
@toyo2333
Copy link
Author

Cool,这个正是我需要的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants