You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
赤月未咲 193be68ab5 | 9 months ago | |
---|---|---|
bohe-uploader | 9 months ago | |
.gitignore | 11 months ago | |
README.md | 9 months ago | |
gitignore | 11 months ago | |
package-lock.json | 11 months ago | |
package.json | 11 months ago |
README.md
picgo-plugin-bohe-uploader
PicGo plugin for Bohe uploader
Install
进入bohe-uploader
文件夹
安装依赖库
npm install
在 PicGo 插件管理中选择导入本地插件
选中项目的bohe-uploader
文件夹
Question
- 为什么需要安装依赖库
根据开发文档所示,本地开发需要导入依赖库
- 为什么云端下载时不需要npm install
不知道,目前本插件未发布到插件列表中
Functional introduction
API地址
请在网页后台获取上传路径
请根据所需情况填写,如:api/images/posts
请注意最后不可填写/
API Token
为高级版的专属项,请在网页后台中获取是否启用日期
当启用时则在上传路径后添加年月日,即为api/images/2024/01/02命名方式
命名方式,可取值1,2,3。1:自动重命名;2:保留原文件名;3:自动重命名(短链接模式)是否开启水印
水印的样式请在网页后台中设置是否启用压缩
将图片进行压缩,※只有png和jpg(jpeg)格式的图片才可以被压缩,其他格式的文件会自动跳过。压缩比例
输入幅度80
or20
任意数值可根据该数值调整压缩质量