thumbnail-spec: proposing nested thumbnail cache directories

Patryk Zawadzki patrys at pld-linux.org
Sat Sep 8 05:13:58 PDT 2007


On 9/7/07, Thomas Leonard <talex5 at gmail.com> wrote:
> A better scheme would be to
> md5sum the name of the directory containing the image, e.g. thumbnailing
> a directory containing 'dog.jpg' and 'cat.jpg' would create/access:
>
>   <cache>/763ab.../dog.jpg
>   <cache>/763ab.../cat.jpg
>
> Thus you get all the images you need together in the cache. Also helps
> with deleting/renaming directories.

And it also causes thumbnails to be regenerated each time you move the
file around (and useless thumbnails persist where files were
previously). I'm all for using the original proposition in this
thread.

-- 
Patryk Zawadzki
Generated Content


More information about the xdg mailing list