comfyui node picture display bug #312

Closed
opened 2026-02-16 10:18:56 -05:00 by yindo · 3 comments
Owner

Originally created by @CG1995 on GitHub (May 26, 2025).

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

1.3.1

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image
I used the comfyui node in diffy, but the generated image cannot be displayed when outputting. However, the image can be displayed in the node editing interface, and you can also see that the image has been generated in the comfyui interface. This should be a bug.

Image

Image

✔️ Expected Behavior

No response

Actual Behavior

No response

Originally created by @CG1995 on GitHub (May 26, 2025). ### 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 1.3.1 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce ![Image](https://github.com/user-attachments/assets/ec8f66b7-517b-414a-804e-a7b3f0f540dd) I used the comfyui node in diffy, but the generated image cannot be displayed when outputting. However, the image can be displayed in the node editing interface, and you can also see that the image has been generated in the comfyui interface. This should be a bug. ![Image](https://github.com/user-attachments/assets/51477898-fe24-4c57-beed-53af475fc60c) ![Image](https://github.com/user-attachments/assets/4236bd90-9ca8-41d0-aa28-2a4ba9a5a7e2) ### ✔️ Expected Behavior _No response_ ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-16 10:18:56 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (May 26, 2025):

There are currently no existing issues or discussions directly related to the "comfyui node picture display bug" in Dify. However, based on your description and the available information, here are some relevant findings and troubleshooting steps:

  • The ComfyUiClient class is responsible for generating and retrieving images in the comfyui node. Images are retrieved using HTTP GET requests with parameters for filename, subfolder, and folder type.
  • In some self-hosted Docker environments, Dify has known limitations with image handling, especially regarding image URLs for files uploaded from a local disk. For example, in earlier versions, images uploaded locally could not be parsed or displayed, while images from cloud storage worked correctly. Although this was documented for version 0.15.3, similar issues may persist in later versions if the underlying configuration is not correct [source].
  • Image display issues in Docker setups can also be caused by missing static files. For other image-related bugs, copying missing static files into the Docker container (e.g., /app/web/public/screenshots/) has resolved display problems [source].
  • Unsupported image formats can prevent images from displaying. Ensure that generated images are in a supported format: JPG, JPEG, PNG, GIF, WEBP, or SVG. You can also configure the MULTIMODAL_SEND_IMAGE_FORMAT environment variable to either base64 or url and, if using URLs, make sure FILES_URL is set to an externally accessible address [source].
  • Make sure the "vision" configuration is declared in your YAML file to enable image processing capabilities.

Troubleshooting steps:

  1. Check your Docker environment variables, especially FILES_URL and MULTIMODAL_SEND_IMAGE_FORMAT.
  2. Ensure the generated images are in a supported format.
  3. If using URL-based image delivery, verify that the URLs are accessible from your browser and not blocked by network or Docker configuration.
  4. Review Docker logs for any errors related to image retrieval or file access.
  5. If the issue persists, try using cloud-hosted images instead of local uploads as a workaround.

If none of these steps resolve the issue, providing additional logs or error messages from your Docker environment may help further diagnose the problem.

To continue talking to Dosu, mention @dosu-bot.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (May 26, 2025): <!-- Answer --> There are currently no existing issues or discussions directly related to the "comfyui node picture display bug" in Dify. However, based on your description and the available information, here are some relevant findings and troubleshooting steps: - The ComfyUiClient class is responsible for generating and retrieving images in the comfyui node. Images are retrieved using HTTP GET requests with parameters for filename, subfolder, and folder type. - In some self-hosted Docker environments, Dify has known limitations with image handling, especially regarding image URLs for files uploaded from a local disk. For example, in earlier versions, images uploaded locally could not be parsed or displayed, while images from cloud storage worked correctly. Although this was documented for version 0.15.3, similar issues may persist in later versions if the underlying configuration is not correct [[source]](https://github.com/langgenius/dify/issues/15045). - Image display issues in Docker setups can also be caused by missing static files. For other image-related bugs, copying missing static files into the Docker container (e.g., `/app/web/public/screenshots/`) has resolved display problems [[source]](https://github.com/langgenius/dify/issues/12912). - Unsupported image formats can prevent images from displaying. Ensure that generated images are in a supported format: JPG, JPEG, PNG, GIF, WEBP, or SVG. You can also configure the `MULTIMODAL_SEND_IMAGE_FORMAT` environment variable to either `base64` or `url` and, if using URLs, make sure `FILES_URL` is set to an externally accessible address [[source]](https://github.com/langgenius/dify/issues/13658). - Make sure the "vision" configuration is declared in your YAML file to enable image processing capabilities. **Troubleshooting steps:** 1. Check your Docker environment variables, especially `FILES_URL` and `MULTIMODAL_SEND_IMAGE_FORMAT`. 2. Ensure the generated images are in a supported format. 3. If using URL-based image delivery, verify that the URLs are accessible from your browser and not blocked by network or Docker configuration. 4. Review Docker logs for any errors related to image retrieval or file access. 5. If the issue persists, try using cloud-hosted images instead of local uploads as a workaround. If none of these steps resolve the issue, providing additional logs or error messages from your Docker environment may help further diagnose the problem. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://go.dosu.dev/dosubot), mention @dosu-bot.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/d31373a2-47c7-4c2f-a34e-4e2c04e14802?feedback_type=other)</sup>
Author
Owner

@yt-koike commented on GitHub (May 28, 2025):

Hello @CG1995 , I'm yt-koike and I've been working on updating ComfyUI plugin since 0.0.5.

I'm not quite familiar with the UI you used in Dify. Could you share the DSL file please?

@yt-koike commented on GitHub (May 28, 2025): Hello @CG1995 , I'm yt-koike and I've been working on updating ComfyUI plugin since 0.0.5. I'm not quite familiar with the UI you used in Dify. Could you share the DSL file please?
Author
Owner

@dosubot[bot] commented on GitHub (Aug 20, 2025):

Hi, @CG1995. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.

Issue Summary:

  • You reported that images generated by the comfyui node in Dify v1.3.1 (self-hosted via Docker) are not displayed in the output, though they appear in the node editor and comfyui itself.
  • Troubleshooting suggestions I included were checking Docker environment variables (FILES_URL, MULTIMODAL_SEND_IMAGE_FORMAT), verifying supported image formats, and ensuring static files are included in the Docker container.
  • The maintainer requested the DSL file from you to better understand and diagnose the issue.
  • No further updates or resolution have been provided since.

Next Steps:

  • Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here.
  • If I don’t hear back within 5 days, this issue will be automatically closed.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (Aug 20, 2025): Hi, @CG1995. I'm [Dosu](https://dosu.dev), and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale. **Issue Summary:** - You reported that images generated by the comfyui node in Dify v1.3.1 (self-hosted via Docker) are not displayed in the output, though they appear in the node editor and comfyui itself. - Troubleshooting suggestions I included were checking Docker environment variables (FILES_URL, MULTIMODAL_SEND_IMAGE_FORMAT), verifying supported image formats, and ensuring static files are included in the Docker container. - The maintainer requested the DSL file from you to better understand and diagnose the issue. - No further updates or resolution have been provided since. **Next Steps:** - Please let me know if this issue is still relevant with the latest version of dify-official-plugins by commenting here. - If I don’t hear back within 5 days, this issue will be automatically closed. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-official-plugins#312