Spaces:
Running on Zero
Running on Zero
Past generations thumbnails
#39
by Ibrahemqasim - opened
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.
