added model test for post_image
updated views and thumbnail versions of images