       toggleDragModeOnDblclick: false
       built: ->
         container = $(@).cropper 'getContainerData'
-        cropBoxWidth = 200;
-        cropBoxHeight = 200;
+        cropBoxWidth = self.cropBoxWidth;
+        cropBoxHeight = self.cropBoxHeight;
 
         $(@).cropper('setCropBoxData',
           width: cropBoxWidth,

    # Set defaults
    {
      @filename
      @form = @fileInput.parents('form')
      @modalCrop = '.modal-profile-crop'

      # Button where user clicks to open file dialog
      # If not passed as argument let's pick a default one

  onUploadImageBtnClick: (e) =>
    e.preventDefault()
    @setBlob()
    @setPreview()
    @modalCrop.modal('hide')

  onActionBtnClick: (btn) ->
    data = $(btn).data()
