Resize doc images