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

图床如何显示现有图片? #765

Open
Tonmyn opened this issue Jan 28, 2024 · 1 comment
Open

图床如何显示现有图片? #765

Tonmyn opened this issue Jan 28, 2024 · 1 comment

Comments

@Tonmyn
Copy link

Tonmyn commented Jan 28, 2024

我之前使用的其他图床软件,目前转向兰空图床
在设置界面添加了之前已经上传有图片的对象存储空间,
但是图传不能显示存储空间中已经存在的图片,新上传的图片能正常显示
我在文档中也没有找到关于导入之类的功能;

所以我该怎么做才能让存储空间中已经存在的图片显示在兰空图床的我的图片里面呢?

尝试使用迁移功能里面的 “php artisan lsky:symlinks”命令
但是提示
ERROR Command "lsky:symlinks" is not defined. Did you mean one of these?

⇂ lsky:install
⇂ lsky:thumbnails
⇂ lsky:upgrade

@akatsukiro
Copy link

可能,现在是做不到的。

或许可以让 GPT 糊一段代码出来遍历现有文件然后写入数据库。但这个操作涉及数据库,非常危险。

或许还可以重新上传一遍,PicGo 应该可以批量上传吧。好处是不用自己动数据库,坏处是得挪文件、上传,挺麻烦的。

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