Asset Thumbnails

Create a new image thumbnail configuration

Create a new image thumbnail configuration with the specified name. <br> The name must be unique and not already used by an existing thumbnail configuration.

post/pimcore-studio/api/thumbnails/image/config

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /pimcore-studio/api/thumbnails/image/config
  • Auth: none declared

Request body

namestring required

Thumbnail configuration name

Example request

{
  "name": "my-thumbnail"
}

Response

Created image thumbnail configuration as JSON

additionalAttributesobject

AdditionalAttributes

writeableboolean required

Is configuration writeable

mediasobject required

Media query configurations with transformation items

Example response

{
  "settings": {
    "name": "portalCarousel",
    "group": "Areas",
    "format": "SOURCE",
    "quality": 85,
    "downloadable": true,
    "modificationDate": 1755073298,
    "creationDate": 1565355190
  },
  "writeable": true,
  "medias": {
    "default": [
      {
        "method": "cover",
        "arguments": {
          "width": 1920,
          "height": 600,
          "positioning": "center",
          "forceResize": true
        }
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.