how can i use replace image button

because by clicking the button it sends me to the upload area then I click on the image but it does not change the current image

 

thanks