feat: Can set client-side Image Compression default open and width height via environment values ? #4504

Closed
opened 2025-11-11 15:55:36 -06:00 by GiteaMirror · 2 comments
Owner

Originally created by @aaronhd on GitHub (Mar 20, 2025).

Check Existing Issues

  • I have searched the existing issues and discussions.

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

Originally created by @aaronhd on GitHub (Mar 20, 2025). ### Check Existing Issues - [x] I have searched the existing issues and discussions. ### 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_
Author
Owner

@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

@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
Author
Owner

@tjbck commented on GitHub (Jun 16, 2025):

Added!

@tjbck commented on GitHub (Jun 16, 2025): Added!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#4504