How to display a picture inside the frame


How can I display a picture in a Frame instead of just the filename of the picture?

Steps to reproduce

Code snippet:
df = pd.DataFrame(
{“Image”: “image/image1.jpg”, “rating”: 4, “is_widget”: True},
{“Image”: “image/image2.jpg”, “rating”: 5, “is_widget”: False},
{“Image”: “image/image3.jpg”, “rating”: 3, “is_widget”: True},

Debug info

  • Streamlit version: 1.19.0
  • Python version: 3.8.10
  • Using PipEnv
  • OS version:Win10
  • Browser version:Edge 110.0.1587.63

Images in the cell is not supported yet.

You can try streamlit-aggrid.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.