Add the Set Parameter behavior

Add the Set Parameter behavior to your rule if you intend to apply multiple Image & Video Manager policies on your property. This behavior allows you to specify which policy applies to each request.

These parameters are applied after the CDN receives the request. This is especially useful if your website's image and video URLs already contain markers that map neatly to your Image & Video Manager policies. It is also useful for cases where you do not want Image & Video Manager to choose the settings for your images and videos because it allows you to override what Image & Video Manager would otherwise apply.

📘

You can only include one parameter (policy name, widths, format or pixel density) in each Image & Video Manager: Set Parameter behavior. For this reason, you may need to add more than one Set Parameter behavior to your Rule.

📘

The Set Parameter behavior can be included only in rules that also contain an Image & Video Manager (Images) behavior or an Image & Video Manager (Videos) behavior.

To add the Set Parameter behavior:

  1. Create a child rule for a rule that already contains the Image & Video Manager (Images) or (Videos) behavior.

  2. Use match criteria to specify the images to which these parameters should be applied.

  3. Click Add Behavior.

  4. Select Image & Video Manager: Set Parameter from the list of behaviors.

  5. Click Insert Behavior.

  6. Select the parameter you want to set. The options are:

    • Policy Name
    • Width
    • Format
    • Pixel Density
  7. Indicate whether or not you wish to use variables.

  8. If you selected "Yes" in the previous step, select the appropriate variable from the list.

    If you selected "No" to using variables, enter the parameter value as follows:

ParameterAction
Policy NameEnter the name of the policy you wish to apply. If a valid policy name is not specified, Image & Video Manager applies the default policy.
WidthEnter the width (in pixels) of the content to serve. If the applied policy does not include that width, Image & Video Manager serves the next largest width.
FormatEnter a browser-optimized format to force Image & Video Manager to serve content in that format. Use this setting to override the one-touch feature "Use Best File Type."
Pixel DensityEnter the pixel density of the content to serve. Density is expressed as a multiplier where the value "1" is normal density.
  1. Click Save.