Hi, I am new to FCKEditor and CKfinder.
Loaded the source and everything looked O.K. Then I tried uploading images.
Having set the $baseUrl = '/blog/userfiles/'; in the ckfinder/config.php
I created two folders: '/blog/userfiles/image' and '/blog/userfiles/files'
I uploaded several images and they were stored in '/blog/userfiles' NOT the '/image' folder
When I browse for a stored image the folder list for '/blog/userfiles/image' is displayed.
Same thing happens when loading to '/blog/userfiles/file'
I checked the resource types - see below, and have scoured the other files, help docs and the internet with no joy.
Can anyone help please - everything else works O.K.
PS: I have reloaded the editor and ckfinder
Thanks
Kevin.
Resource Types -------------------------------------------
$config['DefaultResourceTypes'] = '';
$config['ResourceType'][] = Array(
'name' => "Files", // Single quotes not allowed
'url' => $baseUrl . 'files',
'directory' => $baseDir . 'files/',
'maxSize' => 0,
'allowedExtensions' => 'bmp,doc,docx,gif,jpeg,jpg,pdf,png,ppt,pptx,xls,xlsx,zip',
'deniedExtensions' => '7z,aiff,asf,avi,csv,fla,flv,gz,gzip,mid,mov,mp3,mp4,mpc,mpeg,mpg,ods,odt,pxd,qt,ram,rar,rm,rmi,rmvb,rtf,sdc,sitd,swf,sxc,sxw,tar,tgz,tif,tiff,txt,vsd,wav,wma,wmv');
$config['ResourceType'][] = Array(
'name' => "Image",
'url' => $baseUrl . 'image',
'directory' => $baseDir . 'image/',
'maxSize' => 0,
'allowedExtensions' => 'bmp,gif,jpeg,jpg,png',
'deniedExtensions' => '');
$config['ResourceType'][] = Array(
'name' => "Flash",
'url' => $baseUrl . 'flash',
'directory' => $baseDir . 'flash/',
'maxSize' => 0,
'allowedExtensions' => 'swf,flv',
'deniedExtensions' => '');
Mon, 09/26/2011 - 23:56
#1
Re: CKFinder - image path problem
check what setting do you have for $baseDir . CKFinder should create 'images' and 'files' directories in $baseDir directory. In CKFinder '_samples' directory there are sample files for CKEditor and FCKeditor integration. There are good for start and testing configuration.