AppFlowy-Cloud icon indicating copy to clipboard operation
AppFlowy-Cloud copied to clipboard

[Bug] Image uploaded from Web doesn't load in apps

Open philiprenich opened this issue 11 months ago • 4 comments

Describe the bug An image uploaded in the web interface shows an "Unable to load image" error on Mac desktop and iOS apps.

To Reproduce Steps to reproduce the behavior: Upload an image via the web. It will display, even after refresh. But apps won't, even after close and reopen.

Expected behavior Images display in apps.

Screenshots

Image

Desktop (please complete the following information):

  • OS: Mac/iOS
  • Version v0.8.2

Additional context The reverse wworks - upload from desktop and it displays on web. I can also see and preview the files in Minio. however only the image uploaded from the app shows an extension in the name.

Image

philiprenich avatar Jan 27 '25 02:01 philiprenich

Got Same trouble on my self hosted server

crackself avatar Jan 27 '25 04:01 crackself

I just tested this on the official server, and was not able to reproduce this. The desktop app was still able to open the file/image despite the lack of extension.

This discrepancy is likely due to the differences in behavior between Amazon S3 and Minio. Will try and see if this issue is reproducible with a local setup, but with AWS S3 instead of Minio.

khorshuheng avatar Jan 27 '25 05:01 khorshuheng

In my case, uncommenting this line has helped me to load images

Image

Azarath7 avatar May 16 '25 21:05 Azarath7

It seems though that files that have been uploaded before this setting have to be re-uploaded

Azarath7 avatar May 16 '25 21:05 Azarath7

On my self hosted instance, I commented in APPFLOWY_S3_PRESIGNED_URL_ENDPOINT and re-uploaded images via the web UI, but those images are still not shown within the clients (windows, android).

Though I do see a difference in minio, as the files I've uploaded via a client (marked red) are suffixed with their respective file extension, which isn't true for the images uploaded via the web UI.

Can anyone confirm this and give me a hint, if this may be caused by a misconfiguration on my side or if it's caused by different uploading behavior of the respective clients?

Image

Mar-Lak avatar Jul 19 '25 14:07 Mar-Lak

This issue has been fixed. Try the latest docker image. I am closing this issue. Feel free to reopen if needed

appflowy avatar Nov 07 '25 02:11 appflowy