Fix image show view and add test.