Page 1 of 1

[N/A][MP3] Relative links in Manialinks dont work

Posted: 02 May 2014, 14:20
by askuri
Manialinks I made months ago don't work anymore properly.
Example:

Code: Select all

<quad posn="0 0 -25" sizen="200 140" image="./images/bg.png" halign="center" valign="center" />
MP doesnt recognize it's a relative URL and tries to open http://./images/bg.png. I dont know why but it ends up in an 403 Error and strangely in the response header is Apache server noted, which is my Manialink's server.
Other Manialinks got the same problem and restarting MP didnt help.
OS: Win 7 32 Bit

Re: [MP3] Relative links in Manialinks dont work

Posted: 02 May 2014, 14:48
by noyranea
I looked for the reason of your problem, and you're right : your Url becomes http://images/bg.png.
Actually, if you do not write which protocol has to be used, your Url is set by default as an http:// Url.

I advice that you use "file://Media/Images/bg.png" and that you put your image in the Media/Images folder of your Maniaplanet install (or in your title pack if your manialink is to be displayed on other computers).

Maybe Gugli can tell you more about this later.

Hope it helps,
noyranea

Re: [MP3] Relative links in Manialinks dont work

Posted: 02 May 2014, 14:50
by TMarc
As workaround, can you place the images to a webserver?

Re: [MP3] Relative links in Manialinks dont work

Posted: 04 May 2014, 10:57
by Fadden
Indeed, relative links don't work it's very annoying. (And quite ugly on a lot of manialinks... :? )

Re: [MP3] Relative links in Manialinks dont work

Posted: 16 May 2014, 09:26
by kripkee
My Manialink is ugly now and that is annoying :!:

Re: [MP3] Relative links in Manialinks dont work

Posted: 22 May 2014, 15:09
by kripkee
Yeah, the most manialinks are normal now :D

Re: [MP3] Relative links in Manialinks dont work

Posted: 27 Jun 2014, 13:16
by konte
Relative links starting by ./ have been fixed, but not those starting by ../
There's an easy workaround, you can just write ./../ instead, but it would be nice, if this is going to be fixed too :)