Add template views for images and containers. #542