validate image presence