-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Platonides wrote:
Ilmari Karonen wrote:
The hardest part would be restructuring the thumbnail repository to allow thumbs in multiple formats to coexist.
The thumbnail repository is made of folders, and thumbs keep their format extension, so Having 800px-Example.jpg and 800px-Example.png wouldn't be a problem.
Note that we already have alt-format thumbs, for rendering of SVG vector images and DjVu pages to PNG and JPEG.
So something like this should not be a problem:
thumb/7/70/Example.png/800px-Example.png.jpg
However, i think there was also a SQL table indexing them, which may need some little changes.
Currently there's no SQL table of thumbnails; the whole subdirectory is simply wiped out (and its contents purged from squid cache) when the source image changes.
Also the auto-thumbnailing script (should be easy).
*nod*
- -- brion vibber (brion @ pobox.com)