Add multi-image support to widgets.