image model now allows resource to load itself