Update image.php

Fixed complaints reported by Travis