Help: Image uploader problem
5 posts
• Page 1 of 1
Help: Image uploader problemThe image uploader in my CKEditor doesn't automatically jump back to image info tab after I uploaded a image like the demo does. The editor stay at upload tab and shows the link returned from server and doesn't jump back to image info tab. Is this a bug or my settings doesn't correct? can anyone help me with it? Thanks in advance.
|
Re: Help: Image uploader problemI probed the demo page using Firebug and found that the upload script isn't just returning the URL for the uploaded file, but a snippet of Javascript that calls into CKEditor:
I'm pretty sure the first argument is just the value of the CKEditorFuncNum variable (one of the form variables CKEditor submits to the upload handler), making this some sort of undocumented callback system. The third argument is where you put an error message if the upload fails for some reason. I tried this on my own setup and it seems to work at least partially. It jumps back to the first tab as expected and inserts the image tag and url properly. However, the image appears broken in both the preview window and the editor itself, despite the url being perfectly valid. It all seems rather delicate at this point, but still, it's progress.
|
Re: Help: Image uploader problemhas anyone figured this out yet?
I can't even get the upload dialog to move back to the first tab and paste the URL - I get this error: z._.filebrowserSe is undefined could someone please document the javascript call to make uploading work like the demo? thanks
|
Re: Help: Image uploader problem
are you on IE or FF? for some reason IE does not make a new popup for browser, therefore no way to find the opener
|
Re: Help: Image uploader problemI had the same problem and found out that this problem exists (in my case) only, if I have two CKEditor instances on the same page. With a workaround I placed them on two different pages and everything is working fine.
Cheers Daniel
|
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 2 guests