set image alignment to center