Remove Document Root...
Thanks for your persistence on this... I really appreciate it.
I've modified the line to:
$kfm_userfiles_output = rel2abs(str_replace($_SERVER['DOCUMENT_ROOT'],"",$kfm_userfiles_address),dirname(__FILE__)). "/";
Now, I do not get any errors, but the document root is still being added to the image path: