added image alignment.