how to add image in articles when uploaded via textarea ?

#1
[eluser]dhaulagiri[/eluser]
how to add image in articles when uploaded via textarea ? Is it possible with editors such as tinymce or YUI ?

#2
[eluser]Sayian[/eluser]
Uh,

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.

#3
[eluser]mi6crazyheart[/eluser]
@dhaulagiri
Agree with "Sayian"...
I don't think so, "Textarea" support any image upload features...

#4
[eluser]Mareshal[/eluser]
Maybe it is possible, but try using input and add the tag to select more than one file. Just like flickr.

#5
[eluser]mlinuxgada[/eluser]
tinymce with tinybrowser ... it's very easy to implement.

#6
[eluser]Ivar89[/eluser]
replace textarea with an editor(fck/cke editor) it will upload to.

#7
[eluser]Narkboy[/eluser]
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.