Deprecate resourceloader.image(str path) because it was not general
enough