Hi Chris,

Thanks for the tip about navigating directly to the URL stored.  With
that debugging trick, I found the problem in my DOM manipulation code.

Thanks
Dave

On Dec 15, 8:31 pm, Chris Prince <[email protected]> wrote:
> Comments inline.
>
> > Sorry for not being clearer.  I would like to show a preview of the
> > image before uploading the file via HttpRequest.
>
> Ah, okay.
>
> > I've tried all sorts of variants for the definition of show_updates()
> > function, but I can't get an image to appear.  As I read the docs,
> > previewUrl should be the "url" inside in the store.  But, I can't seem
> > to get the data back out.  A simple example for show_updates is:
>
> > function show_update(file, previewUrl)
> > {
> >    $('img_queue').append("<div><img src=\"" + previewUrl +"\"><"+"/
> > div>");
> > }
>
> > But this doesn't show the image.  In fact, nothing is shown.
>
> > The storage seems to work properly - that is, there are no exceptions
> > thown.  However, i just can't get my data back out.
>
> Is the content not being served, or is your DOM manipulation failing?
> What happens if you manually navigate to the URL stored in
> 'previewUrl'?
>
> --Chris

Reply via email to