if (is_null($provider)) {
            throw new Exception("Cannot lookup image from image provider - no provider given (hint: Flickr, WestonLangford)");
        }