Fixed layout to map images and handled Model null case in View