Page 1 of 1

Release 1.1.5 and fckeditor - image browsing and upload

Posted: Mon 10. Jan 2005, 14:35
by Lumimies
Hi there!

Just installed this new "dev" Release 1.1.5. It works fine but does anyone have ideas how to get fckeditors image upload, directory creating and image browsing functionality to work?

I`m using Mac OS X 10.3.7 and Firefox

Thank You!

Posted: Mon 10. Jan 2005, 14:48
by cyrano
hi i saw this also, will not work in the dev release i think.

Posted: Tue 11. Jan 2005, 08:06
by Lumimies
Hmmm.. I checked the document that loads when trying to browse/upload photos on server. And for me it seems that it loads the wrong connector.. For me it loads the ASP connector instead of PHP connector. (And everything works when using Win/IE) Maybe this is the problem with Firefox?? At least i think that fckeditor should use PHP. But how to change that behaviour?

Posted: Sat 29. Jan 2005, 15:51
by update
Hi Lumimies,

I've installed the new dev release too (locally) and had the same problem. If still important, that's what I've found:

in fckconfig.js change like this

Code: Select all

// Link Browsing
FCKConfig.LinkBrowser = true ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp" ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/" ;
//FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx" ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php" ;
FCKConfig.LinkBrowserWindowWidth	= screen.width * 0.7 ;	// 70%
FCKConfig.LinkBrowserWindowHeight	= screen.height * 0.7 ;	// 70%

// Link Upload
FCKConfig.LinkUpload = false ;
//FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/aspx/upload.aspx" ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/php/upload.php" ;
FCKConfig.LinkUploadWindowWidth		= 300 ;
FCKConfig.LinkUploadWindowHeight	= 150 ;
FCKConfig.LinkUploadAllowedExtensions	= "*" ;		// * or empty for all
FCKConfig.LinkUploadDeniedExtensions	= ".exe .asp .php .aspx .js .cfm .dll" ;	// empty for none

// Image Browsing
FCKConfig.ImageBrowser = true ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp" ;
//FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx" ;
FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php" ;
FCKConfig.ImageBrowserWindowWidth  = screen.width * 0.7 ;	// 70% ;
FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ;	// 70% ;
and folder creation and picture upload and inserting pictures from wihin fckeditor is working!

Greetings

Claus

Hey Claus! Thank You!

Posted: Tue 1. Feb 2005, 12:47
by Lumimies
Actually I managed to solve this by myself but then forgot to post anything here! Sorry :x

But Thank You anyway!