Back ported imageattr SDP handling.