Hello everyone,
What does the server return on success when an image is uploaded by FCKeditor?
My application requires a custom image-upload handler. The server is on a J2EE platform, but that probably doesn't matter.
Have over-ridden the following line in fckconfig.js:
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
with this one:
FCKConfig.ImageUploadURL = "uploadCustomImage.foo" ;
where .foo is an extension that results in my own file-upload-servlet to be called.
I'm getting the file-upload request and the corresponding image to the server fine. However, not sure what the server should return. Any ideas?
Regards,
ts
What does the server return on success when an image is uploaded by FCKeditor?
My application requires a custom image-upload handler. The server is on a J2EE platform, but that probably doesn't matter.
Have over-ridden the following line in fckconfig.js:
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
with this one:
FCKConfig.ImageUploadURL = "uploadCustomImage.foo" ;
where .foo is an extension that results in my own file-upload-servlet to be called.
I'm getting the file-upload request and the corresponding image to the server fine. However, not sure what the server should return. Any ideas?
Regards,
ts
Re: Over-riding the default Image Upload
Hi ts,
I do not exactly understand what you are trying to achieve. Do you want to change the default upload folder for images or do you want to know what the server responds?
refering the first: http://java.fckeditor.net/properties.html
refering the second: http://docs.fckeditor.net/FCKeditor_2.x ... .28HTML.29
Re: Over-riding the default Image Upload
Thanks!
Needed to know what information the server sends back, and your answer pointed me to exactly the right place... and it works!