Documentation

Sitecore ImageEngine Integration

Sign up for an ImageEngine account in order to get a Delivery Address for your optimized images.

Below, we assume that images.mysite.com is your delivery address and that it is correctly set up in the DNS. You can of course use a delivery address on the shared imgeng.in domain name too.

The CDN properties are controlled using these settings, found in the Sitecore.config file:

<setting name="Media.MediaLinkServerUrl" value="https://images.mysite.com"/>
<setting name="Media.MediaLinkPrefix" value="-/media/images" />
<setting name="Media.AlwaysIncludeServerUrl" value="true" />
<setting name="MediaResponse.Cacheability" value="public" />
  • Media.MediaLinkServerUrl is the ImageEngine Delivery Address that you obtained when signing up or provided in other ways.
  • Media.MediaLinkPrefix is the media library link URL. With ImageEngine we need to specify the directory containing your image content. If you require ImageEngine to deliver non-image content, we can either provide you with a secondary domain or we can make a modification to our edge caching rules to enable mixed content.
  • Media.AlwaysIncludeServerUrl tells Sitecore to always include the server URL in the media requests
  • MediaResponse.Cacheability allows the cache settings of any item to be publicly available. This enables us to access cache-control and other headers.