The json:api put provides a link to file--file node types, but the url is to the original image file.

How can I get a lower resolution image file via json:api to avoid users from downloading a MB+ image file?

1 Answer 1


Core does not support this (yet... hopefully).

Assuming you have already set up image styles, you can use the Consumer Image Styles module, which is the approach taken by Contenta CMS.

For reference, there's also a blog post on the background to the development of Consumer Image Styles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.