Homepage

PropertyUploadResizeInput

Last edit: Oct 26, 2022

No description

type PropertyUploadResizeInput {
  background: CssColor
  fit: PropertyUploadFit
  height: Int
  position: PropertyUploadPosition
  width: Int
  without_enlargement: Boolean
}

Fields

background (CssColor)

background color when using a fit of containDefault: #000000

fit (PropertyUploadFit)

height (Int)

max height of an image. If left undefined, will depend on other parameters to determine size (like: width)

position (PropertyUploadPosition)

position to use when fit is cover or contain

width (Int)

max width of an image. If left undefined, will depend on other parameters to determine size (like: height)

without_enlargement (Boolean)

do not enlarge if the width or height are already less than the specified dimensions

Contribute to this page

Github Icon

Questions?

We are always happy to help with any questions you may have.

contact us