update selected image
handle when the browser does not support flash