mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-09 23:35:09 -05:00
feat: Can set client-side Image Compression default open and width height via environment values ? #4504
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 @aaronhd on GitHub (Mar 20, 2025).
Check Existing Issues
Problem Description
Ubuntu 20.04
Ollama 0.6.2
Open-WebUI 0.5.20
For a new user ID, the user must manually enable client-side image compression. Large images used with multimodal models can cause the backend to freeze.
Desired Solution you'd like
Can this setting be configured through environment variables or the Admin Panel?
Alternatives Considered
No response
Additional Context
No response
@MCQSJ commented on GitHub (Mar 29, 2025):
Yes, this function is really needed. It would be best to add compression based on image quality rather than just compression based on image resolution
@tjbck commented on GitHub (Jun 16, 2025):
Added!