   set_svg_input:(html) =>
     $value= $(html)
     $src = $value.attr("src")
-    hidden = $("#{@button_sel} [name=\"embeddable_image_question_answer[annotated_image_url]\"]")
-    hidden.val($src)
+    @$annotated_image_url_field.val($src)
     @current_thumbnail = $src
     @update_display()
 
   submit_svg_form: ->
     $input = @$annotation_field
     $input.attr("value", sketchily_encode64("<?xml version=\"1.0\"?>\n" + @svg_annotation_data))
-    hidden = $("#{@button_sel} [name=\"embeddable_image_question_answer[image_url]\"]")
+    hidden = $("#{@form_sel} [name=\"#{@form_prefix}[image_url]\"]")
     hidden.val(@current_src)
     @$svg_form.submit()
 

      # This is a drawing question, so an annotation is needed for it to be answered
      @show_edit_buttons()

    # if @undo_button
    #   @undo_button.hide()
    # if @last_src
    #   @$undo_button.show()
    @set_svg_background()

  show_edit_buttons: =>

    @$content.dialog("close");

# export our class
window.ImageQuestion = ImageQuestion
