Update image.php

Fix Errors
Merge pull request #1784 from ghost/patch-5

Update image.php