// Path to user files relative to the document root. $Config['UserFilesPath'] = 'http://'.$_SERVER['HTTP_HOST'].'/' ; // Fill the following value it you prefer to specify the absolute path for the // user files directory. Useful if you are using a virtual directory, symbolic // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'. // Attention: The above 'UserFilesPath' must point to the same directory. $Config['UserFilesAbsolutePath'] = $_SERVER['DOCUMENT_ROOT'].'/' ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'images/' ; $Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'].'images/' ; $Config['QuickUploadPath']['Image'] = $Config['FileTypesPath']['Image'] ; $Config['QuickUploadAbsolutePath']['Image'] = $Config['FileTypesAbsolutePath']['Image'] ;
http://www.alfaenergy.co.uk/images/gas.jpg

Re: Image upload problem