fixed some bugs for image
Support pictures in report