They are not the most beautiful thumbnails though, quite some compression artefacts..
Have a look at how it is done in distribusi for inspiration https://git.vvvvvvaria.org/varia/distribusi/src/branch/master/distribusi/distribusi.py#L31
They are not the most beautiful thumbnails though, quite some compression artefacts..
This also helps to not load everything in one go, but only as needed 0369b3f8bc
This also helps to not load everything in one go, but only as needed https://git.vvvvvvaria.org/varia/bots/commit/0369b3f8bce7c208f2892c148b9fa109db0b3c97
Danny shared that he already did this for the library page: https://git.vvvvvvaria.org/varia/varia-library-website/src/branch/master/library/page.py
Line 133.
Going to try to implement this soon!
Have a look at how it is done in distribusi for inspiration https://git.vvvvvvaria.org/varia/distribusi/src/branch/master/distribusi/distribusi.py#L31
They are not the most beautiful thumbnails though, quite some compression artefacts..
This also helps to not load everything in one go, but only as needed
0369b3f8bc
Danny shared that he already did this for the library page: https://git.vvvvvvaria.org/varia/varia-library-website/src/branch/master/library/page.py
Line 133.
Going to try to implement this soon!