Skip to content

Releases: fengyuanchen/cropperjs

v0.5.4

28 Dec 04:01

Choose a tag to compare

  • Supports to zoom from event triggering point.

v0.5.3

24 Dec 09:21

Choose a tag to compare

  • Limit wheel speed to prevent zoom too fast (#21)
  • Improve the setCropBoxData method (#22)

v0.5.2

15 Dec 06:19

Choose a tag to compare

  • Fix event handlers

v0.5.1

12 Dec 07:13

Choose a tag to compare

  • Handle Data URL (avoid to use XMLHttpRequest to open a Data URL)
  • Handle ajax error when load ArrayBuffer
  • Not to transform the image to base64 when Orientation equals to 1
  • Fix some typos

v0.5.0

05 Dec 09:31

Choose a tag to compare

  • Added a new option: checkOrientation
  • Added a timestamp to the url of preview image

v0.4.0

02 Dec 06:55

Choose a tag to compare

  • Added a new option: restore
  • Fixed #12: Added vendor prefixes to CSS transform

v0.3.3

30 Nov 03:19

Choose a tag to compare

  • Floor the numerical parameters for CanvasRenderingContext2D.drawImage

v0.3.2

18 Nov 03:07

Choose a tag to compare

  • Fixed #10: improve new crop box creating

v0.3.1

11 Nov 12:17

Choose a tag to compare

  • Fixed #7: reset the crossOrigin when call the replace method

v0.3.0

28 Oct 06:43

Choose a tag to compare

  • Supports four view modes
  • Supports three drag modes
  • Makes the crop box's borders and handlers visible when overflow
  • Added some examples
  • Fixed some issues

Options

  • Add viewMode
  • Add dragMode
  • Rename touchDragZoom to zoomOnTouch
  • Rename mouseWheelZoom to zoomOnWheel
  • Rename doubleClickToggle to toggleDragModeOnDblclick
  • Rename checkImageOrigin to checkCrossOrigin
  • Remove strict (supported byviewMode: 1)
  • Remove dragCrop (supported by dragMode: 'crop')