The media widget: set up image galleries