added title to span around image