Add support for using sample images