Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fullscreen label for st.image #10119

Open
2 tasks done
Walter909 opened this issue Jan 7, 2025 · 3 comments
Open
2 tasks done

Fullscreen label for st.image #10119

Walter909 opened this issue Jan 7, 2025 · 3 comments
Labels
feature:st.image type:enhancement Requests for feature enhancements or new features

Comments

@Walter909
Copy link

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

A way for adding more context to images once they get clicked and enlarged. Currently trying to use the st.image function for rendering images but for my images I think a short description feature would make the images easier to understand for users.

Why?

I want to create a gallery of pictures and give each picture some short description when a user clicks on the image.

How?

Maybe an additional short description prop/parameter to the st.image function. Streamlit image function documentation link

Additional Context

So for example I want text to show up here maybe to the right side of the image after being clicked to describe the image in the gallery

Screenshot 2025-01-06 at 5 24 33 PM
@Walter909 Walter909 added the type:enhancement Requests for feature enhancements or new features label Jan 7, 2025
Copy link

github-actions bot commented Jan 7, 2025

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits

@sfc-gh-jrieke
Copy link
Contributor

Hey, we do have the caption parameter, which renders a caption below the image. Would you simply want that to show up in fullscreen mode? Or would you want a separate text that doesn't show up in the app itself but only shows up in fullscreen?

@Walter909
Copy link
Author

Walter909 commented Jan 7, 2025

Yes so I would prefer a separate text that shows up only in fullscreen mode. The text would be longer than a caption caption as well.

Hey, we do have the caption parameter, which renders a caption below the image. Would you simply want that to show up in fullscreen mode? Or would you want a separate text that doesn't show up in the app itself but only shows up in fullscreen?

@sfc-gh-jrieke sfc-gh-jrieke changed the title St.image description Prop Fullscreen label for st.image Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:st.image type:enhancement Requests for feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

3 participants