SRCDS Steam group


MOTD HTML
#1
how do i make an image show up on my motd as the same size it does on my computer

heres the pictures url:http://i78.photobucket.com/albums/j90/yazid129/Campincarlsserver1.jpg

heres what i have now and it shows to big

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>motd and rules</title>
</head>
<body bgcolor="#000000" text="white">
<center><img width=100% border="0" src="http://i78.photobucket.com/albums/j90/yazid129/Campincarlsserver1.jpg"></center>
</body>
</html>


thats my whole motd
Reply
#2
I would edit the image to fit, rather than use html to resize as that still takes up the extra bandwidth.
Reply
#3
Everybody uses a different resolution Toungue

http://forums.srcds.com/showthread.php?tid=2250
[Image: banner.gif]

Reply
#4
thing is i cant edit it because the motd stretches it and makes it a bit pixelated


It would still be pixelated but samller if i made the original smaller
also is my html right?

Reply
#5
hey here i edited your html this looks better and u might chuld use it..other wise u just need a difrent picture


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>motd and rules</title>
</head>
<body bgcolor="black">
<center>
<img src="http://i78.photobucket.com/albums/j90/yazid129/Campincarlsserver1.jpg" height="500" width="600"> >
</center>
</body>
</html>
[Image: colexcss.png]
Reply
#6
Question 
Hi there i was wondering if its not too much troble if any one could tell me why the picture dose'nt work in my motd.txt

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>HL2MP MOTD</title>
<style type="text/css">
pre {
font-family:Verdana,Tahoma;
color:#FFB000;
}
body {
background:#000000;
margin-left:8px;
margin-top:0px;
}
a {
text-decoration: underline;
}
a:link {
color: #FFFFFF;
}
a:visited {
color: #FFFFFF;
}
a:active {
color: #FFFFFF;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
</style>
</head>
<body scroll="no">
<pre>
Hello and Welcome to NETWORK-D's GameBox222
<strong>Unless Your Name is<font color="FF0033"> Dick Organ </font></strong><i>You Prat</i>
Visit the official Half-Life 2 web site @ http://www.half-life2.com
</pre>
<img src="E:\srcds\hl2mp\Welcome\megun.jpg" height="500" width="600">>
</body>
</html>

If any one could please piont me in the right direction.. thank for the time in advance Rolleyes
Reply
#7
The picture has to be on a webserver to show up, a place that everyone can access.

that means NOT on your harddrive, since no-one can access that from over the internet.

Upload it on some free image host or host it on a webaccount you can get somewhere...
Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
Reply
#8
heh yeah here send me the picture and ill upload it to my website for you add my msn or yahoo..or you can upload it to like photobucket.com or something
[Image: colexcss.png]
Reply
#9
Thanks for the info peeps & the offer for use of a little web space, howerver i was hoping it could be done from the server! Arss. Thanks once agen but if this has to be done i can upload it on to a viper server my work hires.. Toungue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)