sizing of doc image