Resizing the image files in the Media service V2 is now possible
You can now upload your master image file and then trigger a transformation process to create multiple variants of different sizes. This can be useful if you need to resize images in your application to accommodate different devices, such as mobile devices or standard desktop computers.
- You can now specify additional image sizes of your master image file by performing requests on the
/filesendpoint with the size query parameter and its required value. The master image will be automatically transformed to multiple variants.
- To retrieve a specific variant of your image file, perform a GET request on the
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.