Draft version of image validator.