wip: image validate