Hi All,
Any help regarding this matter would be greatly appreciated. I have the following in my filemanager/connectors/php/config.php file:
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ;
$Config['DeniedExtensions']['Image'] = array() ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] ;
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'];
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'];
$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'];
I would like to save my images in a /image sub directory of the UserFilePath and UserAbsoluteFilePath. I tried appending 'images/' to the appropriate $Config values
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ;
$Config['DeniedExtensions']['Image'] = array() ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/';
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'] . 'image/';
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] . 'image/';
$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] . 'image/';
1.) What happens is files get stored in the UserFilePath and not in the /image/ subdirectory, however when performing a lookup using the tool it does look in the /image/ subdirectory and of course it can't find it. Where else do I need to change settings so it both stores and looks in the /images/ subdirectory?
2.) Also how can I make it so the url that is used when applying an image is the absolute url and not a relative url?
Many Many Thanks,
Cesar
Any help regarding this matter would be greatly appreciated. I have the following in my filemanager/connectors/php/config.php file:
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ;
$Config['DeniedExtensions']['Image'] = array() ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] ;
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'];
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'];
$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'];
I would like to save my images in a /image sub directory of the UserFilePath and UserAbsoluteFilePath. I tried appending 'images/' to the appropriate $Config values
$Config['AllowedExtensions']['Image'] = array('bmp','gif','jpeg','jpg','png') ;
$Config['DeniedExtensions']['Image'] = array() ;
$Config['FileTypesPath']['Image'] = $Config['UserFilesPath'] . 'image/';
$Config['FileTypesAbsolutePath']['Image']= ($Config['UserFilesAbsolutePath'] == '') ? '' : $Config['UserFilesAbsolutePath'] . 'image/';
$Config['QuickUploadPath']['Image'] = $Config['UserFilesPath'] . 'image/';
$Config['QuickUploadAbsolutePath']['Image']= $Config['UserFilesAbsolutePath'] . 'image/';
1.) What happens is files get stored in the UserFilePath and not in the /image/ subdirectory, however when performing a lookup using the tool it does look in the /image/ subdirectory and of course it can't find it. Where else do I need to change settings so it both stores and looks in the /images/ subdirectory?
2.) Also how can I make it so the url that is used when applying an image is the absolute url and not a relative url?
Many Many Thanks,
Cesar