Garrys mod server load screen

As of now i have a loading screen as a image file hosted from imgur. Problem is that it doesnt fit everybody screen size and im having trouble making it so that it fits on everyone screen perfectly. I know you will need to have a web host but i currently dont have on. Would google sites work? If so how am i able to make it so that the loading url can fit everyones screen?

yes, google sites will work
as for fitting people’s screens, you’d have to adjust your HTML page properties to dynamically scale

I have no idea on how to work the html page thing. xD



<img src="path/to/image.jpg" style="height:100%;width:100%">


Make sure the image keep a good aspect ratio. Such as 16:9 would be good (1920x1080, 1280x720, etc)

So do i just post my imgur ulr into that script? Or…

Forget the fact that its for gmod and just search for html scale image to fit screen

EDIT: Ninja’d but relevant

Problem is that i dont know any of these stuff. Html, css, PHP, Javascript, JQuery. Im very confused and have no idea where to start and what to do.

Google :wink:

Imgur has a html website for pictures. Would this work?
<a href=“http://imgur.com/DisZrCw”><img src=“http://i.imgur.com/DisZrCw.jpg?1” title=“Hosted by imgur.com”/></a>

No, you would want to do this:



<img src="http://i.imgur.com/DisZrCw.jpg" style="height:100%;width:100%">


When i put that in sv_loadingurl it shows up as black loading screen

You must put a link to a html page there. You can’t put html code there.

I am not sure, BUT you might do this: “data:text/html,<img src=“http://i.imgur.com/DisZrCw.jpg” style=“height:100%;width:100%”>”

FP screws up the formatting; it has to be in


 tags.



data:text/html,

Will google sites work for hosting the loading url image?

Ugh, here:



sv_loadingurl "http://tjservers.org/files/monstermega10.html"


Demo

Btw you might want to make the image 1920x1080 (Or atleast 16:9 aspect ratio)

Thanks i appreciate it