You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched the existing issues for similar feature requests.
I added a descriptive title and summary to this issue.
Summary
When uploading an image in st.file_uploader, it shows a generic file icon for the uploaded image, see below. We could show a little preview of the image instead.
Why?
Just a nice little UX improvement :)
How?
Whenever the uploaded file is an image, replace the file icon in the file uploader with a preview image. We could also do the same thing for documents, e.g., if you upload a PDF, show a preview of the first page.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Checklist
Summary
When uploading an image in
st.file_uploader
, it shows a generic file icon for the uploaded image, see below. We could show a little preview of the image instead.Why?
Just a nice little UX improvement :)
How?
Whenever the uploaded file is an image, replace the file icon in the file uploader with a preview image. We could also do the same thing for documents, e.g., if you upload a PDF, show a preview of the first page.
Additional Context
No response
The text was updated successfully, but these errors were encountered: