thumbnail-spec: proposing nested thumbnail cache directories
Thomas Leonard
talex5 at gmail.com
Sat Sep 8 06:08:16 PDT 2007
On Sat, 08 Sep 2007 14:13:58 +0200, Patryk Zawadzki wrote:
> 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.
I'm not sure which one "it" refers to, but in the current system and in
both proposals in this thread, renaming or moving a file requires
renaming or regenerating its thumbnail.
--
Dr Thomas Leonard http://rox.sourceforge.net
GPG: 9242 9807 C985 3C07 44A6 8B9A AE07 8280 59A5 3CC1
More information about the xdg
mailing list