MACH Experts: A discussion on the role of orchestration in composability Sign Up
There are many instances where an image will need to be displayed across multiple devices with different size restrictions. Agility allows developers to make this request directly in the code through Media Based URL Transcoding.
Let’s use this picture of a cat as an example and say you’ve uploaded it to Agility and the URL for the image is https://42b6f927-cdn.agilitycms.cloud/cat.jpg
A Developer could use the Width and Height parameters below to alter the URL and specify that the Image needs to be displayed with a Width and Height of 200 pixels. The URL they would use is https://42b6f927-cdn.agilitycms.cloud/cat.jpg?w=200&h=200
Further Reading