added view images and other fixes