downloaded image cannot be opened #7034

Closed
opened 2026-02-21 18:18:32 -05:00 by yindo · 2 comments
Owner

Originally created by @AkisAya on GitHub (Dec 3, 2024).

Originally assigned to: @zxhlyh on GitHub.

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

main

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

upload a image in a conversation and download it
图片下载
and the download one cannot be open

✔️ Expected Behavior

downloaded image can be opened

Actual Behavior

downloaded image can not be opened

Originally created by @AkisAya on GitHub (Dec 3, 2024). Originally assigned to: @zxhlyh on GitHub. ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version main ### Cloud or Self Hosted Self Hosted (Source) ### Steps to reproduce upload a image in a conversation and download it ![图片下载](https://github.com/user-attachments/assets/3df7be56-8121-4bcb-a61a-938bff6b46c6) and the download one cannot be open ### ✔️ Expected Behavior downloaded image can be opened ### ❌ Actual Behavior downloaded image can not be opened
yindo added the 🐞 bug label 2026-02-21 18:18:32 -05:00
yindo closed this issue 2026-02-21 18:18:32 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Dec 3, 2024):

I found similar discussions related to issues with opening downloaded images in Dify:

  1. Unable to open image: /files/tools - This discussion is still open and suggests checking the FILES_URL environment variable. It should be set to an externally accessible address to ensure that URLs are correctly displayed on the frontend and can be accessed by multi-modal models [1].

  2. Unable to open image: /files/tools - This is another open discussion with similar issues [2].

The suggested solution involves ensuring that the FILES_URL is configured correctly in your environment. This configuration is crucial for accessing files properly in Dify.

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Dec 3, 2024): <!-- Answer --> I found similar discussions related to issues with opening downloaded images in Dify: 1. [Unable to open image: /files/tools](https://github.com/langgenius/dify/discussions/10312) - This discussion is still open and suggests checking the `FILES_URL` environment variable. It should be set to an externally accessible address to ensure that URLs are correctly displayed on the frontend and can be accessed by multi-modal models <sup>[[1]](https://github.com/langgenius/dify/discussions/10312)</sup>. 2. [Unable to open image: /files/tools](https://github.com/langgenius/dify/discussions/10245) - This is another open discussion with similar issues <sup>[[2]](https://github.com/langgenius/dify/discussions/10245)</sup>. The suggested solution involves ensuring that the `FILES_URL` is configured correctly in your environment. This configuration is crucial for accessing files properly in Dify. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Dec 3, 2024):

https://github.com/langgenius/dify/pull/11322

@crazywoola commented on GitHub (Dec 3, 2024): https://github.com/langgenius/dify/pull/11322
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#7034