Finished validation of form of image

Signed-off-by: alfabrad <zerovamp@hotmail.com>