Hi,
You have to commit the image which you uploaded and retrieve the image in a same page, this is one of way.
We have another way to showing preview when you upload a image Using "File dropper" widget which available in tha marketplace.
Thanks!