Changing image the way defined