OBJECT

Image

Image attachment for adverts and some other models

link GraphQL Schema definition

  • type Image implements Node {
  • # Image alt text
  • alt: String
  • filename: String
  • height: Int
  • id: ID!
  • # Image metadata
  • metadata: String
  • # NOTE: This will be deprecated, assume images are always ordered and set position
  • # values on integrations accordingly.
  • position: Int!
  • # The file size of the image in bytes.
  • size: Int
  • # The src URL for the image.
  • #
  • # Arguments
  • # width: Desired width (in pixels) of image.
  • # height: Desired height (in pixels) of image.
  • # fit: Resize Fit Mode: default is max
  • # fillColor: Sets a background color (hex, eg: ff0000) for
  • # fit=fill/fillmax. NOTE: we would suggest using fit=clip and css style of
  • # "object-fit: contain" instead.
  • # originalFormat: Return image original format as it was
  • # uploaded.
  • url(
  • width: Int,
  • height: Int,
  • fit: ImageFitEnum,
  • fillColor: String,
  • originalFormat: Boolean
  • ): String!
  • width: Int
  • }