       modal: true
     })
 
+    @shutterbug       = new Shutterbug('iframe',null, (image_tag)=>
+      @set_image(image_tag)
+    );
     @$answer_text     = $('#image_answer_text')
 
     @$snapshot_button = $('#image_snapshot_button')


  create_hooks: ->
    @$snapshot_button.click =>
      request_snapshot = {
        'type': 'getInteractiveSnapshot'
        # 'origin': origin()
      }
      post_to_iframe(request_snapshot)
      @show()

    @$cancel_button.click =>

origin = () ->
  document.location.href.match(/(.*?\/\/.*?)\//)[1]

