Aligns images