well, the link replacement function i have, overrides the img transfer function.. which goes like:
$text = preg_replace("/[IMG](.*)[\/IMG]/", "<img src=\"\1\" alt=\"\" border=\"0\" style=\"display:block;\">", $text);
.. I need some adjustments, so that the http/ftp link transfer dont screw up my image transfer function