Fix bug for image
Merge pull request #1120 from dreamsxin/bug_image_1.3.0

Bug image 1.3.0