Page 1 of 1

How to setup catalog to use relative paths to files?

Posted: Fri Aug 19, 2022 7:18 pm
by somerandomguy5
Hello, Pierre and community. I tried searching, but could not find a solution.

Problem: I have a pool of images on a cloud drive under Drive/Content/ folder. Portable XnView is located on the same drive under Drive/XnView/. I want my assistants to have a shared catalog that we can maintain. The problem is that every machine has a different path to /Drive/. A supposed solution would be to setup XnView database to use a relative path like ../Content/. Can this be achieved? Any other way to solve this?

Re: How to setup catalog to use relative paths to files?

Posted: Fri Aug 19, 2022 8:06 pm
by cday
Are you familiar with Tools > Settings... > Integration -- Paths tab?

You could possibly test using a relative path for the Custom option, not sure whether it will work.

Re: How to setup catalog to use relative paths to files?

Posted: Fri Aug 19, 2022 9:06 pm
by somerandomguy5
cday wrote: Fri Aug 19, 2022 8:06 pm Are you familiar with Tools > Settings... > Integration -- Paths tab?

You could possibly test using a relative path for the Custom option, not sure whether it will work.
Thanks for the tip. I will check it out.
Update: That's not it. This setting tells XnView where to look for config files and such. It also uses absolute paths.

Re: How to setup catalog to use relative paths to files?

Posted: Sun Aug 21, 2022 10:39 pm
by somerandomguy5
bumparoonie

Re: How to setup catalog to use relative paths to files?

Posted: Mon Aug 22, 2022 9:03 am
by michel038
Hello,

The problem is that every machine has a different path to /Drive/.
It's maybe easier to add (mount) the same drive in all computers ?
I believe that it's possible to add a virtual drive pointing to a specific folder with Windows or Linux...

Re: How to setup catalog to use relative paths to files?

Posted: Mon Aug 22, 2022 10:39 am
by somerandomguy5
michel038 wrote: Mon Aug 22, 2022 9:03 am Hello,

The problem is that every machine has a different path to /Drive/.
It's maybe easier to add (mount) the same drive in all computers ?
I believe that it's possible to add a virtual drive pointing to a specific folder with Windows or Linux...
Thank you. That's a nice suggestion and a possibility I'll keep in mind. However I would love to know if it's possible using XnView. I really don't want to tell two casual users that we're gonna setup virtual drives :mrgreen:

Re: How to setup catalog to use relative paths to files?

Posted: Fri Sep 02, 2022 7:27 pm
by somerandomguy5
bumper

Re: How to setup catalog to use relative paths to files?

Posted: Fri Sep 02, 2022 8:40 pm
by cday
somerandomguy5 wrote: Fri Sep 02, 2022 7:27 pm bumper
The Tools > Settings... > Integration -- Paths tab allows a choice of available alternative locations for the .ini file, if you have tested those locations without success, I think that you can assume that using a relative path is not possible without, possibly, modification of the program code.

In the absence of an early response from xnview the developer of all xnview.com software, you could suggest that the option, which seems a reasonable request that could be of wider interest, be added if it is technically possible, preferably as a new thread under the Suggestions heading. But understand that there is a limit to what a sole developer can provide... :wink:

Re: How to setup catalog to use relative paths to files?

Posted: Sun Sep 04, 2022 11:39 am
by somerandomguy5
cday wrote: Fri Sep 02, 2022 8:40 pm
somerandomguy5 wrote: Fri Sep 02, 2022 7:27 pm bumper
The Tools > Settings... > Integration -- Paths tab allows a choice of available alternative locations for the .ini file, if you have tested those locations without success, I think that you can assume that using a relative path is not possible without, possibly, modification of the program code.

In the absence of an early response from xnview the developer of all xnview.com software, you could suggest that the option, which seems a reasonable request that could be of wider interest, be added if it is technically possible, preferably as a new thread under the Suggestions heading. But understand that there is a limit to what a sole developer can provide... :wink:
I was hoping to get an answer from Pierre, but alas. I will take your suggestion. Thank you.

Re: How to setup catalog to use relative paths to files?

Posted: Mon Sep 05, 2022 7:57 am
by xnview
somerandomguy5 wrote: Sun Sep 04, 2022 11:39 am I was hoping to get an answer from Pierre, but alas. I will take your suggestion. Thank you.
Sorry but currently there is no way to specify a relative path for database

Re: How to setup catalog to use relative paths to files?

Posted: Tue Sep 06, 2022 3:40 pm
by somerandomguy5
Thank you for taking the time to answer!