Do you want to delete the image or the piece of code that displays the image?
If you are saving the information on the PC, are you saving the image in the PC? Do you know the name and location of it?
If this is the case then just delete the file using the "file.delete(pth)" command.
I am not sure if this is what you need; hope it helps.