added image changing function
added images to index