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

Moderators: w1lla, NADEO

Post Reply
User avatar
askuri
Posts: 156
Joined: 18 Oct 2011, 15:01
Location: Germany

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

Post 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
User avatar
noyranea
Nadeo
Nadeo
Posts: 187
Joined: 29 Apr 2014, 14:50
Location: Paris, France

Re: [MP3] Relative links in Manialinks dont work

Post 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
Last edited by noyranea on 02 May 2014, 14:51, edited 1 time in total.
User avatar
TMarc
Posts: 15255
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: [MP3] Relative links in Manialinks dont work

Post by TMarc »

As workaround, can you place the images to a webserver?
Fadden
Posts: 181
Joined: 10 May 2011, 18:21

Re: [MP3] Relative links in Manialinks dont work

Post by Fadden »

Indeed, relative links don't work it's very annoying. (And quite ugly on a lot of manialinks... :? )
Elle est où la poulette ?
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: [MP3] Relative links in Manialinks dont work

Post by kripkee »

My Manialink is ugly now and that is annoying :!:
User avatar
kripkee
Posts: 920
Joined: 21 Jun 2010, 14:04

Re: [MP3] Relative links in Manialinks dont work

Post by kripkee »

Yeah, the most manialinks are normal now :D
konte
Posts: 236
Joined: 15 Jun 2010, 12:36
Location: Germany

Re: [MP3] Relative links in Manialinks dont work

Post 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 :)
Post Reply

Return to “Maniaplanet Reports”

Who is online

Users browsing this forum: No registered users and 2 guests