Image argument can be direct url

Modified to get dominant without having img tag as input. Useful when image is get from node style