Past generations thumbnails

#39
by Ibrahemqasim - opened

It takes a long time to display pictures every time open the page, can you use thumbnails for example?
Screenshot_2023-09-22-00-40-30-996_com.android.chrome.jpg

Hi @Ibrahemqasim , just to let you know that I opened an issue in Gradio for it: https://github.com/gradio-app/gradio/issues/5679. I like the idea! 👍

Thank you 👍

Maybe thumbnails would make sense here. I’d keep the full-size generations unchanged and load smaller versions in the history view, ideally with caching in front so you’re not resizing the same image over and over.

I’ve used imgproxy for this kind of on-demand resizing, it can take the original image URL and return a resized version without having to pre-generate every size: https://docs.imgproxy.net/usage/processing
The downside is that it’s another service you need to deploy and maintain.

Sign up or log in to comment