change order so img added before text