Function tryGetImage

Tries to resolve an image object with as much information as possible, from any inferrable structure (id, url, path, image object etc)

Image object