MyBB Community Forums

Full Version: Automatic URL change
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Ok i am trying to add an image from my images directory which originates from this link

http://www.profifaleagues.net/images/Tea...rsenal.png

Everytime i try to add it into a custom page of mine it automatically changes it to

../images/TeamLogos/arsenal.png

Therefore not displaying the image and in this case just displaying the text "Arsenal". Which is the alternate text.

How can i stop it from automatically changing the URL to "../images/" and leaving it at "http://www.profifaleagues.net/images/" ?
Tried using this ?

<img src="{$theme['imgdir']}/TeamLogos/arsenal.png" />
Put the full http:// address...?? The site doesn't load for me so I can't see exactly what you're putting in.
(2009-10-24, 01:36 PM)LeX- Wrote: [ -> ]Tried using this ?

<img src="{$theme['imgdir']}/TeamLogos/arsenal.png" />

That didn't work Undecided.

Matt the sites back up and heres the page link

http://www.profifaleagues.net/pages/arsenal/

Its the "Arsenal" text next to the 10 avatar shadows. It loads as a box at first then it goes to text.
For all i can see; your img doesn't have a source ...
<img src="" width="150px" height="300px" />

Edit:
That seems to be the users avatar :/
Weird place to display it ...

Can you activate my account so i can see the actual page or make the page visible for guests.
(2009-10-24, 02:53 PM)LeX- Wrote: [ -> ]For all i can see; your img doesn't have a source ...
<img src="" width="150px" height="300px" />

Edit:
That seems to be the users avatar :/
Weird place to display it ...

Can you activate my account so i can see the actual page or make the page visible for guests.

Ok ive activated your account. Plus your looking at the wrong bit Wink. I put the avatar there for a reason and it works Wink. But you should be able to see what i mean with the "Arsenal" section now.

This is what i have down

<img src="http://www.profifaleagues.net/images/TeamLogos/arsenal.png" border="0" alt="Arsenal" width="75" height="75" />
This seems to be the link
http://www.profifaleagues.net/pages/images/TeamLogos/%3Cfont%20color=%27red%27%3E******%3C/font%3Enal.png

<img src="../images/TeamLogos/<font color='red'>******</font>nal.png" border="0" alt="Arsenal" width="75" height="75" />

Your images should be into ./pages/images/TeamLogos/ but what that <font> tag is doing there, i have no clue =P
(2009-10-24, 03:30 PM)LeX- Wrote: [ -> ]This seems to be the link
http://www.profifaleagues.net/pages/images/TeamLogos/%3Cfont%20color=%27red%27%3E******%3C/font%3Enal.png

<img src="../images/TeamLogos/<font color='red'>******</font>nal.png" border="0" alt="Arsenal" width="75" height="75" />

Your images should be into ./pages/images/TeamLogos/ but what that <font> tag is doing there, i have no clue =P


Ahhhh i see. The font is there for a reason Big Grin. The first four letters lead to a swear word creating a ******. Would i have to remove it from the swear words ? :p
Or contact the author of the pages plugin; not to parse the whole page but only the readable content for badwords =P
But you can try by removing the badword and see if its works
(2009-10-24, 03:36 PM)LeX- Wrote: [ -> ]Or contact the author of the pages plugin; not to parse the whole page but only the readable content for badwords =P
By you can try by removing the badword and see if its works

I will remove the "Arse" as Arsenal will be used alot on a football site Big Grin.

EDIT: Works like a charm now i removed the word from the badword list Wink.