quick solution to center photos