Skip to content

st.image auto addwidth:16px and when click one expand and close the window then it show the image in proper width #12763

@xkeshav

Description

@xkeshav

Checklist

  • I have searched the existing issues for similar issues.
  • I added a very descriptive title to this issue.
  • I have provided sufficient information below to help reproduce this issue.

Summary

displaying images grid but it show very small image when display and when clickon expand button and close the expand menu then it display correctly.

Reproducible Code Example

Steps To Reproduce

No response

Expected Behavior

Screencast.from.2025-10-11.23-09-19.mp4

Current Behavior

No response

Is this a regression?

  • Yes, this used to work in a previous version.

Debug info

  • Streamlit version: 1.50.0
  • Python version: 3.12.3
  • Operating System: Ubuntu 24.04
  • Browser: Chrome v 140.0

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions