htmlArea

A directory of browser-based WYSIWYG editors

  MAIN
INDEX
SEARCH
POSTS
WHO'S
ONLINE
LOG
IN

Home: htmlArea 2: htmlArea 2 & 3 archive (read only): htmlArea v2.0:
File upload with htmlarea


The htmlArea 2 & 3 editors have been discontinued.

We've made these forums available as a read-only reference and knowledge-base for people using or developing editors based on htmlArea 2 or 3.

Anyone who is interested in taking over version 2 or 3 is free to do so. All we ask is that you choose a new name that doesn't have "htmlarea" in it to avoid confusion with this site. We'll even give you a link in the directory to make it easier for people to find you. If you are developing or hosting an htmlArea based-editor under a new name, please submit it to our directory.

 


plainsboro
Novice

Aug 11, 2004, 12:32 PM

Post #1 of 4 (2648 views)
Shortcut
File upload with htmlarea Can't Post

Hi, I am customizing htmlarea to uplaod an image while adding to the TEXTAREA on the HTML page itself. I have seen posts in the form that show how to upload seperately. I would like to 1. Provide a 'Browse' button dialog to include the image file in the TEXTAREA of the HTML page with "htmlarea". 2. onChange of that file-dialog box I'll do an upload of the image to the server I have completed the second one. I am not able to get the popup dialog to insert the image and close just as it would normally without the file-dialog box. Please let me know if I can do this or point me to some area where I can read and implement it Thank You.


plainsboro
Novice

Aug 11, 2004, 1:10 PM

Post #2 of 4 (2636 views)
Shortcut
Re: [plainsboro] File upload with htmlarea [In reply to] Can't Post


In Reply To
Hi, I am customizing htmlArea to uplaod an image while adding to the TEXTAREA on the HTML page itself. I have seen posts in the form that show how to upload seperately. I would like to 1. Provide a 'Browse' button dialog to include the image file in the TEXTAREA of the HTML page with "htmlarea". 2. onChange of that file-dialog box I'll do an upload of the image to the server I have completed the second one. I am not able to get the popup dialog to insert the image and close just as it would normally without the file-dialog box. Please let me know if I can do this or point me to some area where I can read and implement it Thank You.

If there is a way to seperately get the '<IMG src="C:\.." width=".." height".." ....>' code and insert it into the TEXTAREA of the htmlarea-application for a onClick of the "btnOK" button, then the problem is solved. But the init() function does some of the initial work and I am not able to separate/filter them out, so that onClick of btnOK in insert_image.html the HTML code/image is placed into the TEXTAREA of htmlarea-application


plainsboro
Novice

Aug 11, 2004, 3:57 PM

Post #3 of 4 (2617 views)
Shortcut
customize HTMLAREA like outlookexpress image attachement [In reply to] Can't Post

Hi,

I really need help with ths one. Can any one out there help me out. In short is it possible to customize htmlarea to do the MS-Outlook image file insert functionality. I am trying to use htmlarea to send HTML emails with inline images much like MS-Outlook. I can upload the image files seperately to the server and then use <IMG src="http://...." ..> , but I would like to use the inline image variation of the image. Please reply. Thanks.


akaEdge
Novice

Nov 22, 2004, 6:41 PM

Post #4 of 4 (2045 views)
Shortcut
Re: [plainsboro] customize HTMLAREA like outlookexpress image attachement [In reply to] Can't Post

I have added picture uploading to my htmlArea - this is how I did it and I hope it helps.

I added some code to the insert_image popup that is basically the upload form.

Once one or more images are uploaded they appear in the popup page as a list of clickable links. Clicking fires a simple piece of javascript that inserts the necessary code to display the uploaded picture (in my case its a file called picture.asp with some querystring parameters) into the URL box that was already there.

From there the "Preview" button works as normal and so clicking "OK" inserts the uploaded picture just as before and of course URL's of pictures situated elsewhere on the net still work too.

 
 
 


Search for (options)