how to add image in articles when uploaded via textarea ?

how to add image in articles when uploaded via textarea ? Is it possible with editors such as tinymce or YUI ?


Unless I'm mistaken on some sort of ajax / yui methods or abilities .. I do believe that the only way to upload a file is still using a file input tag.

Textarea does not support image uploads.

If I'm wrong, feel free to correct me.

Agree with "Sayian"...
I don't think so, "Textarea" support any image upload features...

Maybe it is possible, but try using input and add the tag to select more than one file. Just like flickr.

tinymce with tinybrowser ... it's very easy to implement.

replace textarea with an editor(fck/cke editor) it will upload to.

If you don't want to impliment something like TinyMCE then you can use an Ajax file upload field to upload the images and drop an image tag into the text upload. That way, when the text is displayed, it will load the image from it's storage folder. I'd use AJAX to upload the files to make it quicker and more intuitive.

Personally, I say go with TinyMCE - it's a god-send!

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.