alist icon indicating copy to clipboard operation
alist copied to clipboard

游客无法显示文件夹说明中的本地图片

Open LanYangYang-114 opened this issue 9 months ago • 3 comments

Please make sure of the following things

  • [X] I have read the documentation. 我已经阅读了文档

  • [X] I'm sure there are no duplicate issues or discussions. 我确定没有重复的issue或讨论。

  • [X] I'm sure it's due to AList and not something else(such as Network ,Dependencies or Operational). 我确定是AList的问题,而不是其他原因(例如网络依赖操作)。

  • [X] I'm sure this issue is not fixed in the latest version. 我确定这个问题在最新版本中没有被修复。

AList Version / AList 版本

v3.34.0

Driver used / 使用的存储驱动

本机存储

Describe the bug / 问题描述

以游客身份浏览时无法显示文件夹说明中的本地图片,使用其他身份(Admin和General账户)则能正常显示,尝试过删除元信息、替换别的图片都是这个现象 PixPin_2024-05-04_00-03-13

Reproduction / 复现链接

没有公网,给不了链接

Config / 配置

image image image

Logs / 日志

No response

LanYangYang-114 avatar May 03 '24 16:05 LanYangYang-114

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar May 03 '24 16:05 welcome[bot]

😂 因为 guset 用户设置了 基本路径,Markdown 里解析你的图片地址 default.jpg 没有带上这个基本路径

在没有修复之前,你可以尝试

  • 修改 guest 用户的 基本路径 为 /
  • 使用绝对路径 /共享文件夹/公共文件夹/default.jpg

liuycy avatar May 06 '24 04:05 liuycy

😂 因为 guset 用户设置了 基本路径,Markdown 里解析你的图片地址 default.jpg 没有带上这个基本路径

在没有修复之前,你可以尝试

  • 修改 guest 用户的 基本路径 为 /
  • 使用绝对路径 /共享文件夹/公共文件夹/default.jpg

原来还可以这样调用🤔,我以为设置基本路径后无法访问到基本路径上一级的目录

LanYangYang-114 avatar May 06 '24 04:05 LanYangYang-114