SitePoint Sponsor

User Tag List

Results 1 to 2 of 2

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    34
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Preview of Image Picked for Upload

    Hello,

    I have a form where visitors can upload an image.

    Rather than showing the form data and image again with a "are you sure you want to upload this stuff" button, I thought it would be neat to show a preview of the image next to the "browse" button after they indicate which image they want to upload.

    I'm guessing this is not possible given the image is on their systems?.?.

    Thanks,
    Noob

  2. #2
    SitePoint Enthusiast nimpkish-media's Avatar
    Join Date
    Jun 2010
    Location
    Victoria BC, Canada
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What if you used ajax and submitted the form when they upload the image... that way the image will be on the server. Once it uploads, reload the form, and show a thumbnail of the image uploaded.


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
  •