It should be similar to the code you have written to load the image for the first time for loading the image.