How to reinitialize the Uploader

Last post 12-17-2010, 4:49 AM by jerry2. 3 replies.
Sort Posts: Previous Next
  •  12-16-2010, 8:23 AM 65384

    How to reinitialize the Uploader

    As I am making a user picture uploader I'd like a user to be able to upload his picture and resize it and then reinitialize the uploader somehow. How do I do that?

    I mean, I'd like the uploader part and the picture preview to reinitialize, should I use ajax for that?

  •  12-16-2010, 10:05 AM 65386 in reply to 65384

    Re: How to reinitialize the Uploader

    Update: I have tried to use ajax load method...

    In IE8 everything works as expected, also in Opera and Chrome. In FF the button doesn't work at all, there is no file requester ;-( When I look at the code I see there is only a <button id=photoButton" onclick="return false">Upload</button>

    I guess that is why it doesn't work, but why doesn't it make proper code in Firefox when the uploader is loaded ajax way?

  •  12-16-2010, 8:13 PM 65394 in reply to 65386

    Re: How to reinitialize the Uploader

    Hi jerry2,
     
    Can you show me your example and the steps to reproduce this issue? I will test it and get back to you as soon as possible.
     
    Regards,
     
    ken
  •  12-17-2010, 4:49 AM 65419 in reply to 65394

    Re: How to reinitialize the Uploader

    I  will prepare it, but ajax load uses jquery!

    Maybe there is another way to make the uploader self sustained in it's code... You seem to have some demos where there is a handler file to point to, but I find no documentation about it. Maybe better than ajax is to use this handler if it is works for this purpose.

View as RSS news feed in XML