Page 1 of 1

Webpage: No relative links!

Posted: Thu Aug 17, 2006 10:06 am
by Ponytail
L.S.,

I want to publish a XNview-created webpage on my website. Now all links to the pictures are to the originals on my C-drive. Therefore other then myself cannot see them.
Is there a way/setting to make XN-view create the proper links or do I have to alter it in all pages by hand, using MS Frontpage f.i.?

Who will/can help me?

Ponytail

Posted: Thu Aug 17, 2006 11:51 am
by Drahken
Strange, it should make the links relative (ie, they should simply point to "image.gif" not "c:\joe_smith\documents\images\image.gif"). I have no idea why yours did it the wrong way.

I would not reccommend using frontpage (especially in this case). It'd be much easier to correct the problem by using a text editor such as notepad. Most text editors have a replace command, you can use this to automatically replace all instances of "c:\joe_smith\documents\images\" with "http://yoursite.com/imagesfolder/" or whatever's appropriate.

Posted: Thu Aug 17, 2006 5:55 pm
by helmut
Strange problem - everything works fine here. Could you please make a screenshot (Alt+Prt Screen) of your dialog "Web page Create" dialog so that we can see the settings (Template, output dir, ...).

Posted: Thu Aug 17, 2006 6:08 pm
by Drahken
You could also try a different template and see if you get the same results. If you don't, then there may be a bug in the template.

Posted: Fri Aug 18, 2006 1:06 pm
by Ponytail
L.S.,

First of all thanks for the reactions. I like quick responses!
Below I've attached the screenshot of my WebpageCreate-settings.
Were do I go wrong?

Image

Many thanks in advance for you answers!

Ponytail

Posted: Fri Aug 18, 2006 7:55 pm
by Drahken
1) Try a different template, just to see if it has the same problem.
2) Try checking the option to copy images to target folder (I believe that would be that "kopier bronbestanden..." one) and see if that works.

relative links or absolute

Posted: Mon Jan 01, 2007 5:45 pm
by Olum
1)
box : no html per pic = unchecked
box : copy orig pics to target = unchecked

result :
thumbs overview pathes are relative
html of pic has relative links, only img src is absolute local.

2)
box : no html per pic = unchecked
box : copy orig pics to target = checked

result :
thumbs overview and single html are relative

3)
box : no html per pic = checked
box : copy orig pics to target = checked

result :
relative linked

4)
box : no html per pic = checked
box : copy orig pics to target = unchecked

result :
hrefs are absolute local

i think, xnview can not show up the relative path from location of marked pics for web creation up to target folder.
In my case i had folder \silvester within folder \_o for original pics (2MB's) marked up some files (.jpg).
Destination folder is \silvester.

i think its standard for webcreation, that selected pics are in folder under thumbs.html . generally one level lower min. .

on other hand it would be great to see overview of available template commands ;-) can you show up?

relative links or absolute

Posted: Mon Jan 01, 2007 5:48 pm
by Olum
changeing templ. doesnt bring effect too.

Re: relative links or absolute

Posted: Thu Jan 04, 2007 10:50 am
by vendex5
Olum wrote:changeing templ. doesnt bring effect too.
Hi
I used ..\ in the output directory
orig in original subfolder
thumb in thumb sub folder

The links were then relative eg thumb/dcp0011.gif and orig/DCP0011.html