Sie sind nicht angemeldet.

Amedee

Anfänger

  • »Amedee« ist der Autor dieses Themas

Beiträge: 33

Wohnort: Brussels - Belgium

  • Nachricht senden

1

Dienstag, 5. Januar 2010, 20:00

Absolute path in URL?

Hello everybody!

In the XML files, is there a way to use absolute path in urls, but without specifying the http:// ?

I would expect url="path/file" to be relative, and url="/path/file" absolute, but it is not: the path of the current XML is always prepended.

Although there is a workaround by setting enough '../../' in the URL, it is a bit a pain...
Phil.

2

Dienstag, 5. Januar 2010, 20:09

Hi,
I would expect url="path/file" to be relative, and url="/path/file" absolute
that should work of course,
if not, it's a bug, I will check this...

edit:
I have done test now to verify it... and here the absolute paths are working...
can you show a small example that is not working?

best regards,
Klaus

Amedee

Anfänger

  • »Amedee« ist der Autor dieses Themas

Beiträge: 33

Wohnort: Brussels - Belgium

  • Nachricht senden

3

Dienstag, 5. Januar 2010, 21:37

Thanks for looking at this.

I have stripped down my html/xml to a minimum to illustrate my issue:
I want to get my images from /upload/panos/... but they are loaded from /krpano/absolute/upload/panos/...
Phil.

4

Mittwoch, 6. Januar 2010, 11:23

Hi,

thanks, I see, it was a bug, I have fixed it now,

the fixed krpano.swf will be with the next release,
(if you need one now contact me per mail)

best regards,
Klaus

Amedee

Anfänger

  • »Amedee« ist der Autor dieses Themas

Beiträge: 33

Wohnort: Brussels - Belgium

  • Nachricht senden

5

Mittwoch, 6. Januar 2010, 11:46

Great, thank you!

No emergency on my side, I can wait for the next release ;-)
Phil.