changing image and changes to media window