question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resize cropper canvas

See original GitHub issue

I set the height to <image-cropper>. And when I upload the image with portrait orientation locating of cropper area is not in the appropriate place.

P. S.: cropper is initing in the dialog (modal) window

screenshot from 2018-03-01 18-34-21

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Mawi137commented, Mar 26, 2018

Nope, my mistake 😉 Fixed it and tested it in your StackBlitz!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to resize then crop an image with canvas
So, to crop the outer 10 pixels from the source image (Assuming it's 100 * 50 ), and then to scale that up...
Read more >
Resizing and cropping elements - Canva Help Center
Select the element that you want to resize or crop. To resize it, drag the resize ... To crop it, select Crop from...
Read more >
Resizing and Cropping Images with Canvas
Learn how to resize and crop images using JavaScript and the HTML5 Canvas element using controls, commonly seen in photo editing applications.
Read more >
Cropping and Resizing with Canvas - Shaun Kelly
On a project I'm currently working on, I came across an issue where I needed to crop and resize images on the front-end...
Read more >
How to Crop or Resize an Image With JavaScript - Code
This tutorial will show you how to crop or resize an image with JavaScript using the canvas API.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found