Update Image.rst

- Fixed versionadded directive
- Fixed sample code
- Fixed error messages documentation order