Throw exception when resolver cannot resolver image