Currently, visible width and height of manualcrop widget thumbnails are set to 100px, not depending on real image proportions:
58.png
It seems the problem is in the CSS declaration:

.manualcrop-style-thumb .manualcrop-preview img {
  margin: 0px;
  max-width: 100px;
  max-height: 100px;
}

.manualcrop-style-thumb .manualcrop-preview-cropped img {
  max-width: none;
  max-height: none;
}

max-width & max-height do what they are asked to: limiting image size to the values of 100px. It's obvious that to let an image to keep it's aspect ratio only one dimension must be constrained:

25.png

Simple patch provided.

Comments

OnkelTem’s picture

Status: Active » Needs review
OnkelTem’s picture

StatusFileSize
new784 bytes

The same as above, but created using git format-patch origin/7.x-1.x

matthijs’s picture

Assigned: Unassigned » matthijs
Status: Needs review » Fixed

Thanks, I've applied your patch and will push it later this evening!

Matthijs

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.