i want to cache on disk the thumbnails for a faster directory reload but the cache disk do not works... i cannot find a .db file in each folder.
this my setup:
ImageEnMViewLista.ImageCacheUseDisk:=true;
ImageEnMViewLista.ImageCacheSize:=100;
ImageEnMViewLista.EnableImageCaching:=true;
i've also tried using snapshots but the fillfromdirectory is too slow.
if FileExists(ShellTreeView1.SelectedFolder.PathName+'\thumbfast.db') then
begin
ImageEnMViewLista.LoadSnapshot(ShellTreeView1.SelectedFolder.PathName+'\thumbfast.db');
end else
begin
ImageEnMViewLista.FillFromDirectory(ShellTreeView1.SelectedFolder.PathName);
ImageEnMViewLista.SaveSnapshot(ShellTreeView1.SelectedFolder.PathName+'\thumbfast.db',true,true,false);
end;
what i wrong?
what is the best practice to use a similar windows's thumbs.db?
thank you
gian