Force thumbnail building on directories with thousands of files

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
Posts: 6
Joined: Thu Jan 18, 2018 9:49 pm

Force thumbnail building on directories with thousands of files

Post by jellen » Tue Feb 06, 2018 1:17 am

Hi there-

We are trying to use XnView MP to look at directories with many files (10,000+) . I am generating these images from a scientific instrument.

They are in .png format, so I do not believe there is any embedded thumbnail as there would be with .jpg.

Once I render the images, they don't change. So what I would like to do is be able to open XnView, point it at a root directory of a project, and tell it to 'render thumbnails' or whatever it needs to do overnight. There are many options under settings that look applicable, but they don't seem to make any difference. For example, under settings->thumbnail, there's an option for 'Create Thumbnails for whole folder', but whether or not I have that checked, it doesn't seem to make a difference. There's an option for 'create high quality thumbnail', and I have turned that off, but I don't know that it helps go any faster.

Under settings->catalog, I have enabled the catalog. I have increased the memory usage for database engine from 50MiB to 500MiB. I have 'enable thumbnail caching' turned on. I tried setting the 'base path of your pictures', but that doesn't seem to do it (or maybe I haven't waited long enough yet).

When I look at the cached directory listing, it immediately says that one particular directory has 34,187 files, and the size of the cache is 131.85 MiB. However, when I scroll around that folder, XnView is definitely still rendering thumbnails, because they do not all display immediately, there is a lot of waiting. But that number never goes up. So is that just the size of all the thumbnails once they are eventually rendered? What else can I do to try to scroll through a very large folder faster?

Ultimately, it is not very useful to scroll through 30,000+ images to look for anything. I would prefer to be able to filter these images by different queries ( as requested here: viewtopic.php?f=110&t=36957 ). But until then, looking at large directories is the only choice.

Any suggestions?


User avatar
Author of XnView
Posts: 31120
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Force thumbnail building on directories with thousands of files

Post by xnview » Wed Feb 07, 2018 8:53 am

you have settings>Catalog>Rebuild thumbnails (for all folders already in the catalog)

Post Reply