Text-image alignment