adding center option for image alignment class