memos icon indicating copy to clipboard operation
memos copied to clipboard

When S3 (MinIO) is specified for file storage, images are not displayed.

Open aqyuki opened this issue 1 year ago • 5 comments

Describe the bug

MinIO was set to be used for file storage. In this case, the uploaded file is not displayed correctly, although the file can be uploaded normally.

Steps to reproduce

  1. set the file storage used by memos to MinIO
  2. post a memo with an image file attached
  3. it is not displayed correctly.

The version of Memos you're using.

v0.22.4

Screenshots or additional context

スクリーンショット 2024-08-06 184449 The image below is the image uploaded to local storage, and the image above is the image uploaded to MinIO

MinIO filepath template is assets/{timestamp}_{filename}

aqyuki avatar Aug 06 '24 09:08 aqyuki

我也遇到了同样的问题

cmoy168 avatar Aug 10 '24 08:08 cmoy168

Issue is not in English. It has been translated automatically.


I also encountered the same problem

Issues-translate-bot avatar Aug 10 '24 08:08 Issues-translate-bot

我也遇到了同样的问题.

pipuwong avatar Aug 14 '24 18:08 pipuwong

Issue is not in English. It has been translated automatically.


I also encountered the same problem.

Issues-translate-bot avatar Aug 14 '24 18:08 Issues-translate-bot

same problem...

luyufan498 avatar Aug 15 '24 15:08 luyufan498

same issue here...

DHS1001 avatar Aug 31 '24 04:08 DHS1001

This looks like it's using client side URLs to communicate with the S3 backend. This means if the Minio or Object Storage backend is not available to the browser then the picture doesn't show up.

Can we proxy the files through instead of signed client URLs?

gouthamve avatar Sep 03 '24 19:09 gouthamve

same problem +1

fengdu126 avatar Sep 20 '24 02:09 fengdu126