my motd for my server does not show the pictue but shows a box with a x through it.
my picture is in the same directory as the motd.txt and when i open it on desktop it works fine but when i join the game it is not visible in the motd
i was wondering if anyone can tell me if theres a certain file size it needs to be or a certain filetype
it is currently a jpg file
if anyone can help me get it working thx
MOTD HTML
-
- A semi-regular
- Posts: 15
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Thu Sep 04, 2003 7:25 pm
-
- New to forums
- Posts: 5
- Joined: Mon Feb 16, 2004 12:33 pm
- Location: Port Hardy BC Canada
- Contact:
Pics in the motd file
The Motd file is a little strange, although it uses many of the html tags used in browsers, you can't however use the img tag (it just doesnt work)
There is a way around this though. using the iframe tag.
1) make a html page with the image that you want to display.
2) upload it to a web server.
3) add this code to your motd.
You may have to adjust the sizes to make it display correctly.
And thats it. The game browser will fetch the web page and diplay it within the frame so pics will be there.
if you want to see an example of this go to blacktouch.nuclearfallout.net :27015.
Hope this helped you.
There is a way around this though. using the iframe tag.
1) make a html page with the image that you want to display.
2) upload it to a web server.
3) add this code to your motd.
Code: Select all
<IFRAME border="0" name="frame" src="http://url to you html file" frameBorder="0" width="650" height="300"></IFRAME>
And thats it. The game browser will fetch the web page and diplay it within the frame so pics will be there.
if you want to see an example of this go to blacktouch.nuclearfallout.net :27015.
Hope this helped you.
Where there's a Bill there's a way 
