How to setup catalog to use relative paths to files?

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

Moderators: XnTriq, helmut, xnview

somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

How to setup catalog to use relative paths to files?

Post 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?
Last edited by somerandomguy5 on Fri Aug 19, 2022 9:06 pm, edited 1 time in total.
cday
XnThusiast
Posts: 3478
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

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

Post 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.
somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

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

Post 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.
somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

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

Post by somerandomguy5 »

bumparoonie
User avatar
michel038
Posts: 977
Joined: Tue Sep 27, 2016 8:18 am
Location: France

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

Post 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...
somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

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

Post 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:
somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

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

Post by somerandomguy5 »

bumper
cday
XnThusiast
Posts: 3478
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

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

Post 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:
somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

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

Post 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.
User avatar
xnview
Author of XnView
Posts: 38828
Joined: Mon Oct 13, 2003 7:31 am
Location: France

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

Post 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
Pierre.
somerandomguy5
Posts: 7
Joined: Fri Aug 19, 2022 6:51 pm

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

Post by somerandomguy5 »

Thank you for taking the time to answer!