Re: Re: Image from upload not displaying

Posted by yemlef on
URL: https://discuss.orbeon.com/Image-from-upload-not-displaying-tp2965704p2994720.html

Thanks for the example but I don't think my problem is the uploading of the image any more.  The image appears to be uploaded fine.  I can see the binary in the instance data and as I described above I can even see the uploaded image through the output tag by going through a sequence of events that leads me to believe I am having some kind of session issue.  Here is how I can make the image display if its bind is set up as xs:anyURI


1.  Open Form
2.  Browse and choose an image to upload
3.  Click the save button
4.  Navigate away from that form
5.  Open the same form with the saved instance data
6.  Enter data into another form field and click save again
7.  Navigate away from that form again
8.  Open that form for a third time and the image finally displays and will display in that form until the    session dies.

Here is how I can get the image to display if its bind is set up as xs:binary64

1.  Open Form
2.  Browse and choose an image to upload
3.  Click the save button
4.  Navigate away from that form
5.  Open the same form with the saved instance data
6.  Enter data into another form field and tab to another form field
7. The image displays