Hey Mr-R-T,

I removed this part cause it wasn't displaying internal images on the server...

Code: 
$host = $_SERVER["HTTP_HOST"];
$src = str_replace($host, "", $src);
$host = str_replace("www.", "", $host);
$src = str_replace($host, "", $src);


Btw why did you turn off cache check?