Backing up category information

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

Moderators: helmut, XnTriq, xnview

Post Reply
Strumpf
Posts: 5
Joined: Sun Aug 31, 2008 12:47 pm
Location: Italy
Contact:

Post by Strumpf »

Hi, i am using XnView categories, to classify my photos
some day a go i have updated XnView and he had lost of Category data
is it possible to save that also, so i dont have to re-categorize all pictures?
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

Strumpf wrote:Hi, i am using XnView categories, to classify my photos
some day a go i have updated XnView and he had lost of Category data
is it possible to save that also, so i dont have to re-categorize all pictures?
For me the best way (the secure way) is to use and add IPTC keywords (Ctrl+i) inside each .jpg photo.
By this way it's always possible to make a new search (by keywords) and restore the lost categories.

The opposite way (from categories) is not always possible, because categories can be lost if:
- images are renamed
- a (or some) folder name is changed
- category.db is deleted or moved ...
- (maybe also with a new XnView version with a new data base management, but I don't think so, because i have never had this problem).

In your personal case, try to go back to your previous XnView version, and see if your categories come back.
Or try to find the "good" category.db xnview file (maybe in an other place ?)
If your categories are restored, you also can easily add IPTC keywords inside your .jpg.
XnViewMP Linux X64 - Debian - X64
Strumpf
Posts: 5
Joined: Sun Aug 31, 2008 12:47 pm
Location: Italy
Contact:

Post by Strumpf »

actualy i have copied entire XnView folder, but category file wasnt there, i have found it now, in Doc. and Sett. folder.
I like your sugestion to use Keywords, but as i allready done categories, my spontaneous question is:
Can i add keywords in batch to all files based on category where they are?

and btw. nice think is that if you move files, category will automacly update :D (i moved files and folders inside in XnView, and he maintein categories)
Thanks a lot for you fast answer
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Post by oops66 »

Strumpf wrote:actualy i have copied entire XnView folder, but category file wasnt there, i have found it now, in Doc. and Sett. folder.
I like your sugestion to use Keywords, but as i allready done categories, my spontaneous question is:
Can i add keywords in batch to all files based on category where they are?

and btw. nice think is that if you move files, category will automacly update :D (i moved files and folders inside in XnView, and he maintein categories)
Thanks a lot for you fast answer
Yes, not into the batch process but it's almost the same (category by category) :
Into your category select all, or multi-select or tag jpg files in the browser mode, then Ctrl+i , add keywords, ..., write all selected
XnViewMP Linux X64 - Debian - X64
Strumpf
Posts: 5
Joined: Sun Aug 31, 2008 12:47 pm
Location: Italy
Contact:

Post by Strumpf »

Thats awesome, actualy i haven't noticed Write to all button, i was clicking only on "write" :?

Thank You a lot oops66
newuser

Can't add keyword using "Edit IPTC data"

Post by newuser »

Hi, when I select one or a few JPEG files and choose "Edit IPTC data", I can't seem to add any keywords (unless the files did not have any keywords to start with, in which case, I can only add one keyword). What happens is that after keying in a keyword in the "Add" field, pressing the "Add" button moves the keyword into the box below. But when I click "Write" or "Write to selected" button at the bottom of the dialog, the keyword simply disappears from the keyword list! It's the same using "Edit Metadata" in the preview. Am I doing something wrong here. Please advise, thanks!


I'm using 1.94.2 on Vista Home Basic
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Can't add keyword using "Edit IPTC data"

Post by oops66 »

Probably dues to this bug here ? :
http://newsgroup.xnview.com/viewtopic.php?t=16079
Then try to replace xmp.dll file (XnView\addon\ folder) should works even with the v1.94.2.
XnViewMP Linux X64 - Debian - X64
newuser

iptc xmp bug

Post by newuser »

Thanks for your reply. Yes it's the same bug. I tried replacing the xmp.dll from the zipped file. Crashed my XnView. When I press the "Write" or "Write all selected" button, the dialog box and the XnView Browser below turned bright translucent white and then Windows tells me XnView has stopped working and exits. Is there some other way to fix it? or I'll just wait.

Btw, I've been playing with XnView and find it's absolutely wonderful (as have many other users). I'll be using it as my media browser of choice. Until the IPTC-XMP bug is fixed, I'll have to use iTag to manage the tagging. Cheerios.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: iptc xmp bug

Post by oops66 »

Oh sorry for the inconvenience.
But you can now download the latest version : v1.95, see here:
http://newsgroup.xnview.com/viewtopic.php?t=16122
XnViewMP Linux X64 - Debian - X64
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Post by obelisk »

the category db doesn't seem to be movable
I copied one from another PC but it seemed tied to the cache too?
Post Reply