Hi all,
In my root folder, have a folder called "images", under it, have many sub-folder and the web site's images.
Now I just discovered FCK 2.0 will help me creat a folder called "UserFiles/Image/" to save the upload images to it and make it as "/"
I want to change the "/" root from UserFiles/Image to images, but don't want FCK in images make a new folder Image like this /images/Image.
Since I am using ASP, and I try to change the file called "connector.asp" it can finf in (FCKeditor\editor\filemanager\browser\default\connectors\asp)
But after uploaded, on the images folder, I see it will auto creat "Image" folder under images, how to fix it not create any folder under images, just make the images = images/Image be the root of the image upload "/"?
thx
In my root folder, have a folder called "images", under it, have many sub-folder and the web site's images.
Now I just discovered FCK 2.0 will help me creat a folder called "UserFiles/Image/" to save the upload images to it and make it as "/"
I want to change the "/" root from UserFiles/Image to images, but don't want FCK in images make a new folder Image like this /images/Image.
Since I am using ASP, and I try to change the file called "connector.asp" it can finf in (FCKeditor\editor\filemanager\browser\default\connectors\asp)
But after uploaded, on the images folder, I see it will auto creat "Image" folder under images, how to fix it not create any folder under images, just make the images = images/Image be the root of the image upload "/"?
thx
RE: How to change the images upload base path
RE: How to change the images upload base path?
filemanager/browser/mcpuk/connectors/php/config.php
change this to ""
line 46: $fckphp_config['UserFilesPath'] = "" ;
Then further down on the config.php change the names of the folders in the arrays, then go to the very bottom and make sure the folder names match in $fckphp_config['ResourceTypes']
Then edit the resource types:
filemanager/browser/mcpuk/frmresourcetype.html
line 31: var aTypes =
RE: How to change the images upload base path?
filemanager/browser/mcpuk/frmfolders.html
line 182
needs a == instead of =
if ( oConnector.ResourceType.length == 0 )
and then on line 183 change
SetResourceType( 'File' ) ;
to whatever you want your default directory to be:
SetResourceType( 'images' ) ;
Best wishes,
Emma