OBJECT

AttachmentImageFileData

Attachment's file data

link GraphQL Schema definition

  • type AttachmentImageFileData {
  • id: String!
  • metadata: AttachmentFileDataMetadata!
  • # Arguments
  • # height: Defines the width of the resulting image. When set to
  • # 0, imgproxy will calculate the resulting width using the defined height and
  • # source aspect ratio.
  • # width: Defines the height of the resulting image. When set to
  • # 0, imgproxy will calculate resulting height using the defined width and source
  • # aspect ratio.
  • # resizingType: [Not documented]
  • # enlarge: When true, imgproxy will enlarge the image if it is
  • # smaller than the given size.
  • # maxBytes: When set, imgproxy automatically degrades the quality
  • # of the image until the image is under the specified amount of bytes.
  • # quality: Redefines quality of the resulting image, percentage.
  • # extension: [Not documented]
  • url(
  • height: Int,
  • width: Int,
  • resizingType: AttachmentImageFileDataResizingTypeEnum!,
  • enlarge: Boolean!,
  • maxBytes: Int,
  • quality: Int,
  • extension: AttachmentImageFileDataExtensionEnum!
  • ): String!
  • }