alist
alist copied to clipboard
希望图片可以通过链接直接浏览
Please make sure of the following things
- [X] I have read the documentation.
- [X] I'm sure there are no duplicate issues or discussions.
- [X] I'm sure this feature is not implemented.
- [X] I'm sure it's a reasonable and popular requirement.
Description of the feature / 需求描述
当文件为图片类型时,如果我们复制了它的文件直链(http://xx/p/assets/img/xxx.png)并打开它会直接进行下载,不会打开浏览,希望可以对这一问题进行改进,大多数时候我们调用它可能只是为了浏览并非是下载。
Suggested solution / 实现思路
将Content-Type的值改为对应的图片类型即可解决该问题
例如:
image/webp
Additional context / 附件
No response
Thanks for opening your first issue here! Be sure to follow the issue template!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hello @, this issue was closed due to inactive more than 52 days. You can reopen or recreate it if you think it should continue. Thank you for your contributions again.