Media V2 image cropping and image variants
The Media V2 upgrade includes awesome new features that provide more options for image management.
In addition to image clipping, Media V2 now supports cropping - resizing the original image to fit within the desired dimensions by cutting off the edges.
Add new variants to existing images
After you upload an image, you can also trigger the creation of new variants by making a
POST request on the
variants endpoint, with the variants specified in the query parameters.
It is now possible to delete variants. Just make a
DELETE request on the
variants endpoint to remove all of the variants. Pass query parameters in the request to remove specific variants.
For more information head over to the docs!
If you find any information that is unclear or incorrect, please let us know so that we can improve the Dev Portal content.
Use our private help channel. Receive updates over email and contact our specialists directly.
If you need more information about this topic, visit hybris Experts to post your own question and interact with our community and experts.