mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 03:18:23 -05:00
[GH-ISSUE #24375] issue: Image editing fails in Edge but works in Chrome #58950
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ambrustorok on GitHub (May 5, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/24375
Check Existing Issues
Installation Method
Other
Open WebUI Version
v0.9.2
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
Edge / Chrome
Confirmation
README.md.Expected Behavior
When an image is uploaded in Open WebUI and then used with an image-editing capable model/tool, the uploaded image should be passed to the
edit_imagetool in a form that the tool can access, regardless of browser.Specifically, Microsoft Edge should behave the same as Google Chrome:
Actual Behavior
Image editing consistently fails when using Microsoft Edge, but succeeds in Google Chrome with the same Open WebUI instance, same account, same model, same prompt, and same uploaded image file.
The issue appears to be that, in Edge, the uploaded image is not passed to the
edit_imagetool as an accessible Open WebUI file URL. Instead, the tool sometimes receives only a plain filename, for example:or:
In other cases, Edge appears to pass or hallucinate a local/non-accessible path, for example:
These references are not accessible to the image-editing tool, so the tool fails with:
The assistant then reports that it could not access the uploaded image file.
In Chrome, the same workflow succeeds. The
edit_imagetool receives an accessible internal Open WebUI file URL, for example:and the image edit is generated successfully.
This happens with both PNG and JPG images. It also appears to be model-independent: the same browser-specific behavior occurs with at least:
gpt-5.5Claude Sonnet 4.6In Edge, the image reference can become a plain filename or a hallucinated/non-accessible local path instead of the expected
/api/v1/files/<file-id>/contentURL.Steps to Reproduce
Open OpenWebUI in Microsoft Edge on Windows.
Start a new chat and upload an image, e.g.
chair.png.Send an image-editing prompt, e.g.
The image is shown in the chat, but the
edit_imagetool fails.Expanding the tool details shows that Edge passes only a filename or non-accessible path, e.g.
or:
The tool returns:
Repeat the same steps in Google Chrome with the same Open WebUI instance, account, model, image, and prompt.
In Chrome, the edit succeeds, and the tool receives an accessible file URL, e.g.
The same pattern occurs with both PNG and JPG images.
Logs & Screenshots
PNG images
JPG images
hallucinated path
Additional Information
img sources:
@owui-terminator[bot] commented on GitHub (May 5, 2026):
🔍 Similar Issues Found
I found some existing issues that might be related. Please check if any of these are duplicates or contain helpful solutions:
#20754 issue: New upload of an image does not work with image editing
by iChristGit ·
bug#21114 issue: Multiple image edits do not meet expectations.
by gitFox117 ·
bug#20237 issue: Image editing stopped working
by tomasloksa ·
bug,confirmed issue#20490 issue: Unable to edit reference image
by fgonzalez-glmc ·
bug#19083 issue: output always copied with formatting (chrome)
by tomasloksa ·
bug,good first issue💡 If this is a duplicate, consider closing it and adding details to the existing issue.
This comment was generated automatically. React with 👍 if helpful, 👎 if not.
@ambrustorok commented on GitHub (May 5, 2026):
The similar issues have all been closed and there has been a release since, thus I deemed it best to open a new one.
@Classic298 commented on GitHub (May 5, 2026):
I cannot reproduce in Edge, at all - but keep us updated. I am sure this has to be some Edge specific security setting similar to how we found out this: https://docs.openwebui.com/features/chat-conversations/chat-features/code-execution/python#microsoft-edge-pyodide-crashes
Let us know!