Avoid the dependency on `app.views.previewGallery` inside this controller. Instead listen for the `app.on('newimage', ...)` event inside your preview gallery controller.