Direct-to-S3 / Azure tus 1.0 resume IndexedDB Golden Retriever 30 locales Webcam & screen capture

Inline image editor with interactive crop

Rotate +/-90 deg, flip H/V, and interactively crop with 8 drag handles (corners + edges). Optional aspect-ratio lock, touch + mouse unified via pointer events, Escape to exit crop mode. The edit is destructive: each op produces a fresh state canvas so rotate -> crop yields the crop of the rotated image, not the original.

What you should see: the full editor — crop, rotate and flip — applied to one image before upload. Auto-upload is off so the edit happens first; the edited result is what gets sent.

Edits happen entirely in the browser - the original file never leaves the page until you explicitly upload.

Try it: pick an image, click Crop in the editor toolbar, drag the rectangle or any of its 8 handles, then click Apply Crop. Save to add the edited file to the upload queue.

JavaScript API

// Opens the editor modal. Resolves with an edited File; rejects on cancel.
uploader.openImageEditor(file, {
 aspectRatio: 16 / 9, // omit for free-form outputType: 'image/jpeg',
 quality: 0.9
}).then(function (edited) {
 uploader.addFile(edited);
});

Keyboard shortcuts

  • Esc - exit crop mode, or cancel the whole editor
  • Drag corner handle - resize on two axes (nw / ne / sw / se)
  • Drag edge handle - resize on one axis (n / s / w / e)
  • Drag inside the box - move the crop rectangle

Combine with the image pipeline

Editor output is a plain File - feed it through imageResize, imageCompress, or watermark options for a full client-side pipeline before upload.