Documentation Center

Enabling Contextual Image Delivery for SDL Web 8 support (.NET)

Contextual Image Delivery (CID) module allows you to change page layout and resize images in SDL Digital Experience Accelerator (DXA).

Before you begin

Procedure

  1. Open a PowerShell command prompt in Run as administrator mode.
  2. Go to the web\web8\ folder and run the following command:
    .\cid-install.ps1 -distDestination C:\inetpub\wwwroot\DXA_Staging
    There are the following parameters that you can use with this command:
    ParamaterDescription
    -distDestinationThe location of your site directory.
    -cidProxyPatternThe pattern to match CID Service proxy requests against and forward to CID service.
    -localhostMappingProvides a remapping for local host allowing the CID service to request resources correctly. If this parameter is not specified, DXA will attempt a DNS lookup automatically and replace local host with the DNS name.