Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
160
rated 0 times [  165] [ 5]  / answers: 1 / hits: 15771  / 14 Years ago, fri, april 16, 2010, 12:00:00

I'd like to create the same kind of function tumblr has for uploading images and then inserting them directly into the WYSIWYG editor.



I was planning on using uploadify to upload the image, then I am not sure of the method for inserting into the CKEditor.



Has anyone done anything similar or know of a plugin that could do this? Ideally I'd like it to insert the image wherever the text cursor was last placed.



Upload an image and directly insert it into a text area http://www.freeimagehosting.net/uploads/06217dcebb.png



Thanks in advance,



Tim


More From » jquery

 Answers
8
CKEDITOR.instances['instanceName'].insertHtml('<img src=your image>');

[#97055] Tuesday, April 13, 2010, 14 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
koltonadolfow

Total Points: 71
Total Questions: 118
Total Answers: 102

Location: Vietnam
Member since Sun, Oct 18, 2020
4 Years ago
;