diff --git a/ginga/web/pgw/ipg.py b/ginga/web/pgw/ipg.py
index <HASH>..<HASH> 100644
--- a/ginga/web/pgw/ipg.py
+++ b/ginga/web/pgw/ipg.py
@@ -397,9 +397,12 @@ class WebServer(object):
             self.http_server = None
         self.server = None
 
-    def get_viewer(self, v_id):
+    def get_viewer(self, v_id, viewer_class=None, width=512, height=512,
+                   force_new=False):
         from IPython.display import display, HTML
-        v = self.factory.get_viewer(v_id)
+        v = self.factory.get_viewer(v_id, viewer_class=viewer_class,
+                                    width=width, height=height,
+                                    force_new=force_new)
         url = v.top.url
         viewer = v.fitsimage
         viewer.url = url
Added force_new kwarg to get_viewer() method

- API allows user to force a viewer to be recreated instead of using
  a cached one