Page 1 of 1

2.05: Webpages created with absolute paths

Posted: Thu Oct 24, 2013 9:20 am
by teletubbie
XnView 2.05/win

Hello,

i tried to export 200 Files to an html-Site. It works fine. But in the html-files of each pic there are only fixed paths like
"file:///c:/pictures/DSCN123.JPG"

Putting these files on an Server, the site will not show the pictures. Is there any way to change the paths to relative paths like "../DSCN123.JPG"

I dont wont to change all 200 html-files in an editor.

Also the backlink does not work. The file thumbs.html does not work directly on an Server. It needs index.html. So i have to create an extra file with forwarding from index.html to thumbs.html.

Thanks for your help.

Daniel

(sorry horrible english - i know)

Re: website export, relative paths

Posted: Thu Oct 24, 2013 9:23 pm
by helmut
Thanks for your request, Daniel. Right, absolute paths mustn't be included in the HTML page.

Which template did you use for thumbnail generation? Could you please take a screenshot of the "Create Webpage" dialog (in order to see alle the settings)?

Re: 2.05: Webpages created with absolute paths

Posted: Sun Oct 27, 2013 7:57 pm
by teletubbie
These are the screenshots. Is there anywhere an option to enable relative paths?

Daniel

Re: 2.05: Webpages created with absolute paths

Posted: Sun Oct 27, 2013 11:03 pm
by helmut
Thank you for your sample, teletubbie. I think that I could reproduced your problem.

Could you please try and check the setting "Copy source images to output folder" (German: Bildansichten speichern bzw. kopieren"? Does your problem persist or is it solved after changing this setting?

(ATM I'm not quite clear what this setting is supposed to do).

Re: 2.05: Webpages created with absolute paths

Posted: Mon Nov 04, 2013 10:06 am
by teletubbie
Thanks, now it works.
If using the option "Copy source images to output folder" the html-files are created with relative pathes. I did not use this option, because there was no reason for me to copy more than 200mb of pictures.

I think, it would be an good idea, to put an information to this option like »use this to create files for uploading to an webserver«.


Daniel