element icon indicating copy to clipboard operation
element copied to clipboard

[Feature Request] Maintain Aspect Ratio in image upload picture-card/picture

Open sudo-shubham opened this issue 9 years ago • 1 comments

Existing Component

Yes

Component Name

el-upload

Description

Aspect Ratio is not maintained while uploading an image. Show the preview show stretched image.

sudo-shubham avatar Sep 05 '17 08:09 sudo-shubham

https://jsfiddle.net/8v7f0j6z/

You can add object-fit.

Leopoldthecoder avatar Sep 05 '17 09:09 Leopoldthecoder