add doc image support.