Relative path DB file

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, helmut, xnview

appreciative
Posts: 1
Joined: Tue Nov 03, 2009 6:35 am

Relative path DB file

Post by appreciative »

Re: XnViewMP Version 0.21 (Oct 7 2009)
On: Windows XP Pro

I wish to use my collection of pictures with XnViewMP portably. By this I mean that I have placed my collection of photos within the XnView directory (as sub directory) and would like associations to be recognized across systems regardless of medium "relative" to its position to XnView directory (not absolute).

Example:

Currently it is this:

D:/USBApplications/XnView/My pictures

Instead to (something like)

//XnView/My pictures

Or this

.//My pictures

Otherwise, every time I change computers, I have to retype my categories as they are lost.

Any assistance would be appreciated in this regard.

Otherwise, this is an excellent program. Keep up the good work. Thank you.
User avatar
xnview
Author of XnView
Posts: 44804
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Relative path DB file

Post by xnview »

Do you have tried option/CacheDB>Base path of your pictures?
Pierre.
p_user
Posts: 1
Joined: Wed Aug 21, 2013 6:59 pm

Re: Relative path DB file

Post by p_user »

Dear Pierre,

thanks for this great peace of software. I'm glad having finally found a very powerful, efficient way to organise my pictures on both, Win and Linux. However, I still have a small issue with the relative paths in my database.

I am using XnView MP on Windows 7 and Linux (Mint) on the same machine. I have set the Base path in both settings to the same folder which is in same relation to my photos on both systems. However, some pictures remain with absolute linux-based paths /home/user/pictures..., others with the absolute windows-based paths D:/user/pictures...
What am I doing wrong? Is there a possibility to update or refresh the database so that it uses relative paths?

Thank you in advance!

Andreas