HealthCatalyst / Fabric.Cashmere

Health Catalyst’s comprehensive design system.
http://cashmere.healthcatalyst.net
Apache License 2.0
66 stars 76 forks source link

Image Upload Component #592

Closed joeskeen closed 1 year ago

joeskeen commented 6 years ago

Describe the problem this feature request is solving An easy-to-use control for uploading / cropping / resizing images.

Describe the solution you'd like This is my prototype for the control I'm working on in Atlas: https://stackblitz.com/edit/cashmere-demo-zjm1su?file=app%2Fimage-input%2Fimage-input.component.ts This prototype doesn't yet allow you to pass in options, such as aspect ratio and/or desired size(s). I'll be working on implementing those things shortly.

If any, which components will have to change, and how

Additional context Add any other context or screenshots about the feature request here.

image image image image image

andrew-frueh commented 1 year ago

@cikeddy designed UI for a similar component that we'd want to include in this: https://www.figma.com/file/XAOGcZUspfSvnOaE5pYx6n/CDM-Attachments?node-id=44%3A3622

andrew-frueh commented 1 year ago

From @atkulp -

important to allow setting optional min/max dimensions with aspect ratio, or absolute dimensions that it resizes to. sometimes the backend can resize, but wants to be sure aspect is right, other times it needs the right number of pixels in the right place

health-catalyst commented 1 year ago

:tada: This issue has been resolved in version 13.6.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: