Skip to content

Document FILE_IMAGE_COMPRESSION_WIDTH and FILE_IMAGE_COMPRESSION_HEIGHT#1283

Open
ThomasCle wants to merge 1 commit into
open-webui:mainfrom
ThomasCle:docs/file-image-compression
Open

Document FILE_IMAGE_COMPRESSION_WIDTH and FILE_IMAGE_COMPRESSION_HEIGHT#1283
ThomasCle wants to merge 1 commit into
open-webui:mainfrom
ThomasCle:docs/file-image-compression

Conversation

@ThomasCle
Copy link
Copy Markdown

Summary

Add missing documentation for the following environment variables in docs/reference/env-configuration.mdx:

  • FILE_IMAGE_COMPRESSION_WIDTH
  • FILE_IMAGE_COMPRESSION_HEIGHT

What this changes

  • Documents both variables as ConfigVar environment variables
  • Adds their default value (None)
  • Clarifies that they control client-side compression limits for chat-uploaded image files
  • Notes that non-image file uploads are not affected

Why

These variables exist in Open WebUI but were not documented in the environment variable reference. This PR fills that gap so users can understand what they do and when they apply.

Notes

This wording was checked against current upstream behavior:

  • the backend exposes these values through app config
  • the frontend uses them during chat image upload compression
  • aspect ratio is preserved during resizing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant