some improvements to images view
added: some tests for image model and validation
some images view improvments