generate new alt and title text