Results 1 to 3 of 3

Thread: How can a separate "upload image" field be added to richtext editor?

  1. #1
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    2
    Thanked 1 Time in 1 Post

    Exclamation How can a separate "upload image" field be added to richtext editor?

    How can a separate "upload image" field/form be added to this script http://www.dynamicdrive.com/dynamici...itor/index.htm so that as soon as the image is uploaded it gets shown in the textarea box ?


    PHP Code:
    <form name="image-upload"  enctype="multipart/form-data" action="" method="post">
    <
    input type="file" name="image">
    <
    input name="Submit" type="submit" value="image"></form

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Why do you need a separate upload form? Doesn't the "add image" utility work for you? It sounds to me like you're just replicating that, but don't understand why you would.

  3. #3
    Join Date
    Apr 2008
    Posts
    6
    Thanks
    2
    Thanked 1 Time in 1 Post

    Default

    The add image lets you add an url, but not have an easy direct upload from your computer. Have a look at this [pmed you the link] , and just upload an image ( see lower part of the page) but do not submit the form.

    Apart from my needs, it beats me how they do it. * Scratches head *
    Last edited by minesota; 05-27-2008 at 04:48 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •