Product Updates

User-defined Variables with Border

Jul 31, 2019

Using user-defined variables in transformations gives you the flexibility to dynamically control several aspects of the image's final result. Now we’re happy to share that this capability is supported with border transformations as well!

Here is an example using both variables and arithmetic transformations, to set a relative border size, but no bigger than 15px:

Copy to clipboard
https://cloudinary-res.cloudinary.com/image/upload/f_auto,q_auto/c_fill,g_auto,h_500,w_500/$bordersize_w_mul_0.1/if_$bordersize_gt_15,$bordersize_15/bo_$bordersize_solid_rgb:FFB235/product_updates/summer

See here for more information

← Back to all product updates