Pass the actual image from the provider rather than a filename.

This allows image loading/conversion errors to be trapped easily in the provider.