     #
     #  srcX, srcy, trgX and trgY can be omitted (in which case 0 is assumed).
     #  trgWidth and trgHeight can be omitted (in which case the options.thumbnailWidth / options.thumbnailHeight are used)
-    resize: (file) ->
+    resize: (file, type) ->
       info =
         srcX: 0
         srcY: 0

        @enqueueFile file if @options.autoQueue # Will set .accepted = true
      @_updateMaxFilesReachedClass()


  # Wrapper for enqueueFile
  enqueueFiles: (files) -> @enqueueFile file for file in files; null

    else
      throw new Error "This file can't be queued because it has already been processed or was rejected."

  _thumbnailQueue: [ ]
  _processingThumbnail: no
  _enqueueThumbnail: (file) ->
