thumbnails cache

Ideas for improvements and requests for new features in XnView Classic

Moderators: helmut, XnTriq, xnview

Post Reply
User avatar
baudav
Posts: 24
Joined: Sun May 27, 2007 1:12 pm
Location: Moselle,France

thumbnails cache

Post by baudav »

1/Can add option to cache only specified folder with or not subfolder ?
With cache all picture, database must be cleaned frequently (with bigger database size XNView is slow)

2/Add option in XnView browser to store thumbnails cache file in this folder (that we are viewing) (Create/XnView thumbnails cache)
If Xnview see this thumbnails cache file: add in local database or just use it and update(if not read only) , and use this for display thumbnails (for my photos, after reinstall computer, use another computer...) (same a Windows XP thumbnails, but I choice if create it)
à quand XNView avec support Unicode ?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: thumbnails cache

Post by xnview »

baudav wrote:1/Can add option to cache only specified folder with or not subfolder ?
With cache all picture, database must be cleaned frequently (with bigger database size XNView is slow)
Like XnViewMP? When you have a big DB, XnView is slow??
2/Add option in XnView browser to store thumbnails cache file in this folder (that we are viewing) (Create/XnView thumbnails cache)
If Xnview see this thumbnails cache file: add in local database or just use it and update(if not read only) , and use this for display thumbnails (for my photos, after reinstall computer, use another computer...) (same a Windows XP thumbnails, but I choice if create it)
I'm not sure that users like to have many hidden files in their folders....
Pierre.
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Re: thumbnails cache

Post by obelisk »

#2 makes no sense, what ru asking?
User avatar
baudav
Posts: 24
Joined: Sun May 27, 2007 1:12 pm
Location: Moselle,France

Re: thumbnails cache

Post by baudav »

#1 now my DB is 137Mo, XNView work fine for small folder.
But 137Mo, and really 37Mo useful (other folder is temporary, deleted, change frequently, or can wait to display all thumbnails)

Today I found one problem with AV: AVAST5 scan all JPG files and use more CPU, bug with AVAST (and sent to AVAST); perhaps this bug hang XNView with big folder and full DB. If I clear DB, XnView open file one/one and display picture; but if DB contain folder, XNview scan rapidly all file and AV must scan all... long and XnView hang)
Pb is bigger if browse folder on network! all computer with AVAST5! each computer scan JPG and XnView hang long time.
If other have this problem: must uninstall AVAST (disable can't work, AVAST scan allways JPG!!)

#2 not hidden files, (same paintshoppro browser) but only for folder I choice, not automaticaly. I use more than one computer; if this function exist; XnView can use this file and not reconstruct thumbnails for each computer. (en francais: juste une fonction par exemple dans le menu Creer: creer un fichier cache des miniatures; que XnView utiliserai s'il existe dans le dossier ou importerai dans sa base)
Same on USB key, or external hard disk... and more than one computer
The big disadvantage with XP thumbnails is that it is automatic, or nothing (but it's work in lan,usb), and it's big problem to delete this file if exist and use folder :@
à quand XNView avec support Unicode ?
metallithrax
Posts: 13
Joined: Mon Sep 22, 2008 2:47 pm

Re: thumbnails cache

Post by metallithrax »

This is an option I would also like to have available. So that if I am looking at a folder on a different PC to mine, I don't need to re-do the thumbnails as the thumbs file is already in the folder.
Silversleeves
Posts: 95
Joined: Mon Nov 27, 2006 6:12 pm
Location: Nordestlich VSA

Re: thumbnails cache

Post by Silversleeves »

metallithrax wrote:This is an option I would also like to have available. So that if I am looking at a folder on a different PC to mine, I don't need to re-do the thumbnails as the thumbs file is already in the folder.
There's a practical application. Almost like an MS Expression Media catalog file or an iPhoto or F-Spot (Linux) subfolder arrangement.
I don't recall which Linux app does it, but one of them insists on creating its thumbs in an "invisible" folder right in the folder where the originals reside. If you were going to "parrot" any approach, that seems the best one. The only downside, as I see it, is in the case of Browsing read-only media (CDs/DVDs or remote/network volumes where your permissions aren't 100%).

BZT
User avatar
JohnFredC
XnThusiast
Posts: 2010
Joined: Wed Mar 17, 2004 8:33 pm
Location: Sarasota Florida

Re: thumbnails cache

Post by JohnFredC »

Silversleeves wrote:creating its thumbs in an "invisible" folder right in the folder where the originals reside. If you were going to "parrot" any approach, that seems the best one.
I agree. An option to cache each folder's image thumbs (and other folder-specific settings such as sort order, filter, etc) in a hidden file stored in the folder itself is a good plan, especially if the folder is to be transported between machines. XnView MP has taken an half-step in this direction with the .XnViewSort file.

This is an occasionally recurring topic here in the forum...
John
User avatar
baudav
Posts: 24
Joined: Sun May 27, 2007 1:12 pm
Location: Moselle,France

Re: thumbnails cache

Post by baudav »

idea
add option to define cache folder by folder
ex: define cache in \\ordi\share\ if browse \\ordi\share\pictures\* (cache with database relative link)
and set if cache is read only/can write

with this, can use cache in more one computer in network; create database for specific folder; write this with pictures in DVDROM, and can use this in DVD; USB or other

and if Xnview can identify database... just browse USB key,DVD... right clic, add database... and fast browse sub-folders...
à quand XNView avec support Unicode ?
User avatar
baudav
Posts: 24
Joined: Sun May 27, 2007 1:12 pm
Location: Moselle,France

Re: thumbnails cache

Post by baudav »

cache option are better in XNVMP.30 but can enable cache for ONLY specified folder, disable for all. require option "disable cache for all but.." and "enable for all but..."
and translation language include/exclude (in french) work only if not clic in select list, if clic it display english
à quand XNView avec support Unicode ?
Silversleeves
Posts: 95
Joined: Mon Nov 27, 2006 6:12 pm
Location: Nordestlich VSA

Re: thumbnails cache

Post by Silversleeves »

baudav wrote:idea
add option to define cache folder by folder
ex: define cache in \\ordi\share\ if browse \\ordi\share\pictures\* (cache with database relative link)
and set if cache is read only/can write
This certainly would make the deletion/removal of cache files easier, both inside and outside XnView. I was going to suggest something like this myself -- folder-specific cache files with links to the "big DB". You don't see Web browsers putting all their "eggs" in one "basket" anymore, so why should XnView do it?

BZT
Post Reply