Update image.php

Replaced error messages by translation strings as discussed in [this pull request](https://github.com/joomla/joomla-cms/pull/4196). Because of this two new variables had to be introduced in `JImage::loadFile`.