Image Can Not Preview

i’ll reload page, by F5 button, all generated images preview, disappear.

I want display their again, after page refresh.

i’ try this code but not working




<script type="text/javascript">

    $(function () {

        'use strict';


        // Initialize the jQuery File Upload widget:

        $('#XUploadForm-form').fileupload({

            url: 'getphotos/'

        });


        $.ajax({

            url: $('#XUploadForm-form').fileupload('option', 'url'),

            dataType: 'json',

            context: $('#XUploadForm-form')[0]

        }).done(function (result) {

            $(this).fileupload('option', 'done')

                    .call(this, null, {result: result});

        });

    });

</script>



What to do in this case?

Hi,

When you refresh your page… u will loose all form data… so its like you are sending emtpy form for saving …Please take this point into consideration before f5 press :)