If i set the $UploadUrlFmt to '/wiki2/uploads' So that my links supposed to become: '/wiki2/uploads/MyGroup/MyImage.jpg' Why does this line SDV($UploadUrlFmt,preg_replace('#/[^/]*$#',"/$UploadDir",$ScriptUrl,1)); has to change it into 'index.php/MyGroup/MyImage.jpg' ? It's not there and it won't show either. (Trying to figure out a fix) Regards, Vince.