picgo-plugin-super-prefix icon indicating copy to clipboard operation
picgo-plugin-super-prefix copied to clipboard

同时复制多张图片时,时间戳重复 | When copying multiple images at the same time, the timestamps are duplicated

Open godspeedlucip opened this issue 1 year ago • 0 comments

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 to set the image upload name as timestamp. When I copy multiple images from one md file containing images (the images are represented by local paths) to another md file at the same time in the Typora editor, the timestamps of all the images are the same, resulting in an error.

My suggestion: could we add an option for a random number so that the filename contains a random number that would partially avoid the problem of duplicate timestamps

我有一个问题:我的Typora已经使用了Pic-Go和阿里云OSS配置了图床,并使用super-prefix设置图片上传名为时间戳。当我在Typora编辑器中从一个包含图片的md文件(图片以本地路径表示)同时复制多张图片到另外一个md文件中时,所有图片的时间戳都是一样的,导致错误。

我的建议:是否可以添加一个随机数的选项,使文件名包含一个随机数,可以部分避免时间戳重复的问题

godspeedlucip avatar Jan 24 '24 16:01 godspeedlucip