Partners

Product Updates

DatoCMS changelog for new features and general improvements
Content Delivery API
Automatic use of base64 variant of Imgix params
June 16th, 2022

To ensure that complex composition of Imgix params resolve correctly even when nested several levels deep, the Content Delivery API now automatically generates Imgix URLs using the base64 variant when needed.

As an example, the following query:

{
author {
avatar {
url(imgixParams: {txt: "Hello world"})
}
}
}

Now returns an URL using the txt64 variant of the same transformation, as suggested by Imgix:

https://www.datocms-assets.com/205/1636982597-image.jpg?txt64=SGVsbG8gd29ybGQ