fix report bug and save origin size image to database