Named Transforms

Named transforms are custom shortcut strings for image transformations.

For example;

You are using w_150,h_150,g_face,c_thumb,r_100,bo_5_skyblue transform string for small thumbnails for your images. You can assign this long transform string to a smaller string like thumbnail and call it from your transform string as n_thumbnail

https://demo.imagemash.io/w_150,h_150,g_face,c_thumb,r_100,bo_5_skyblue/woman2.jpg

It helps you to create understandable parameters and boosts your speed.

You can edit your named transforms in your dashboard.

Named Transform Behaviours

Depending on the selected behavior, it adds security layers to your CDN Link.

  • No Behaviour All transform requests are allowed.

  • Transform string must contain at least 1 named transform If no named transform in the transform string, the server will ignore the request.

  • Ignore all transforms except named transforms Only named transforms are allowed in the transform string

Last updated