Guides Channels and integrations Resize and convert images with Cloudflare Serve resized, cropped and converted images in IXO client apps with Cloudflare Image transformations on ixo.world: URL format, parameters and limits.
IXO client applications serve images through Cloudflare Image transformations on the ixo.world
domain. Instead of storing several sizes of each image, you write the size, crop, quality and format
into the image URL, and the image is transformed when it is requested. Use this page to build those
URLs: the format, the parameters, responsive images, the limits and what to check when an image
does not load.
Configuration
Build an image URL
Transform an image with this URL format:
https://ixo.world/cdn-cgi/image/[OPTIONS]/[SOURCE-IMAGE-CID]
For example, an image 300 pixels wide at quality 80:
https://ixo.world/cdn-cgi/image/width =300,quality=80/[SOURCE-IMAGE-CID]
Responsive images
Using width=auto
width=auto picks the image size that suits the device:
https://ixo.world/cdn-cgi/image/width =auto/[SOURCE-IMAGE-CID]
Using srcset (recommended)
< img
srcset = "
https://ixo.world/cdn-cgi/image/width=640/[SOURCE-IMAGE-CID] 640w,
https://ixo.world/cdn-cgi/image/width=960/[SOURCE-IMAGE-CID] 960w,
https://ixo.world/cdn-cgi/image/width=1920/[SOURCE-IMAGE-CID] 1920w
"
sizes = "(max-width: 767px) 640px,
(max-width: 1023px) 960px,
1920px"
src = "https://ixo.world/cdn-cgi/image/width=960/[SOURCE-IMAGE-CID]"
alt = "Responsive image"
/>
Parameters
Resizing
Fit options
Limits
Security
Only images from the allowed origins can be transformed. The source image URL must be on an
allowed origin.
SVG files are sanitized automatically.
Examples
Thumbnail
https://ixo.world/cdn-cgi/image/width =150,height=150,fit=cover,gravity=auto/[SOURCE-IMAGE-CID]
Responsive profile image
https://ixo.world/cdn-cgi/image/width =auto,fit=cover,gravity=auto/[SOURCE-IMAGE-CID]
Optimized banner
https://ixo.world/cdn-cgi/image/width =1200,height=400,fit=cover,quality=80,format=auto/[SOURCE-IMAGE-CID]
High-DPI image
https://ixo.world/cdn-cgi/image/width =600,dpr=2,quality=75/[SOURCE-IMAGE-CID]
When an image does not load
Check that the source URL is on an allowed origin.
Check that the image exists at the source URL.
Check that the transformation parameters are formatted correctly.
Check that the image is within the limits.
Next steps
Previous Deploy the IXO USSD gateway Next Plan an Impact Hub Registry integration