Need Help with Loading screen on Gmod Server!

2 things if its not to much to ask.
I want to know how to Auto Adjust/Resize the Image. I looked online but it does not make any sense on how to do it. It looks different of other computers because of the screen resolution.
The 2nd thing
I have already got eveything working steamID, files and etc…
But I want learn how to get the Avatar Image and the Current Map?

ps… I have already looked on FacePunch forums and other sites not to many people say how to do it.

In your <img> tag add two extra attributes like this; <img width=“X” height=“Y”>
X and Y being numbers of your choice. In pixels. Fiddle with it.

Take a look here:
http://facepunch.com/showthread.php?..7#post41653967

To make the image resize depending on the clients resolution, then add this to your css code;



html, body{
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
body{
    background: url(MY IMAGE URL HERE) no-repeat center center fixed;
    background-size: cover;
}


To get the map name, take a look at the JavaScript functions here;

And finally use this; https://developer.valvesoftware.com/wiki/Steam_Web_API to get the avatar, but note that you will need an API/Dev key to do it, you can get one from here; http://steamcommunity.com/dev/apikey