Added better error handling when resizing image

If not getting JSON back from the image service we end up without an exception. So I added a introspection to the `$props`
Merge pull request #26 from olekenneth/patch-2

Added better error handling when resizing image