picgo-plugin-super-prefix
picgo-plugin-super-prefix copied to clipboard
A PicGo plugin for elegant file name prefix
picGo使用gitee作为图床,使用插件super-prefix自定义了前缀、上传返回url,但是在返回的url中丢失了插件自定义的前缀路径,上传的图片路径是包含设置的前缀路径(最后一张图)。    
**PicGo的版本 | PicGo Version** v2.4.0 **Typora版本 | Typora Version** v1.2.4 I have a question: my Typora has configured the image bed with Pic-Go and Alibaba Cloud OSS, and used super-prefix...
这个插件使用的时候报错了
## Problem info The plugin changes the dirname and filename before upload, but in return url dir name is missing. As a result, uploaded img cannot be shown because invariant...
- PicGo 2.3.1 - super-prefx 1.2.2 `------Error Stack Begin------ Error: super-prefix conflict at Object.handle (C:\Users\23714\AppData\Roaming\picgo\node_modules\picgo-plugin-super-prefix\dist\index.js:45:27) at async D:\software\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17809 at async Promise.all (index 0) at async $e.handlePlugins (D:\software\PicGo\resources\app.asar\node_modules\picgo\dist\index.cjs.js:1:17731) at async $e.beforeUpload...
发现一个bug
配置的是这个 "picgo-plugin-super-prefix": { "fileFormat": "YYYYMMDDHHmmss", "prefixFormat": "image/YYYY/MM/DD/" } 重命名时前缀却变成了i34pmge 34 是本地时间的分钟 如17:34 每次数字是 本地时间的分钟 p就不知道是从那里来的了 "imgUrl": "https://xxx-xxx-xxxx.aliyuncs.com/cnblogPictureBed/i34pmge/2021/01/05/20210105173435.png",   有时间自己也会研究一下的
您好,我在使用本插件和 gitee 插件之后,文件上传到 gitee 仓库的路径为 2020/01/01/1010.png 但是PIcgo 返回的路径是 https://gitee.com/***/***/raw/master/1010.png, 并没有加上我设置的前缀。请问这个需要如何设置呢?
比如原文件名或者随机数什么的,谢谢