Dynamic image rotation, interactive dashboard #83
-
Hello Everyone, I'm looking to develop an interactive dashboard designed for TV display, which users can also access via their computers. I'd like to allow users to upload diverse file formats such as slideshows, PDFs, images, DOCX, etc. Once uploaded, the dashboard should automatically convert these files into images for display. Each image should be showcased in full-screen and should transition every 10 seconds, similar to a slideshow, given its primary display on a TV. While I've previously achieved this functionality using Streamlit, I'm seeking a more efficient and enhanced solution. Here's a brief overview of my implementation using Streamlit:
Though this was my initial approach, I recognize it may not be the most efficient. I'm curious about how I can replicate or even improve this functionality using StreamSync. If you have insights on using a similar or a completely different logic, I'd appreciate the guidance. Please feel free to ask if you need clarification on any aspect or require further details. Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hello, Rather than multiple pages for display, in Streamsync you'd likely have one, with a Timer component. If you have them all ordered in a database, I'd increment a counter in state (e.g. 1, 2, 3...), and use that to get the right offset from the database. |
Beta Was this translation helpful? Give feedback.
Hello,
Rather than multiple pages for display, in Streamsync you'd likely have one, with a Timer component. If you have them all ordered in a database, I'd increment a counter in state (e.g. 1, 2, 3...), and use that to get the right offset from the database.