Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The DAM for Sitecore media pipeline that serves the media (DFS 11.0 - 8 Serving media), has a fallback feature. If it cannot serve the requested image it will show a placeholder image insted. The image that is shown is configured in this files \App_Config\Include\damforsitecore\DFS.ServicesSettings.config. Look for these settings:

...

The rendering of the DFS fieldtypes will generate the html tag for that page (DFS 11.0 - 3 Render DAM for Sitecore Field Types). If the rendering cannot access or find the requeated asset, it will genereate a fallback html tag like this <img src='/dfsmedia/notfoundAsset' alt='Not Found' />. Out of the box, this url will genereate a 500 internal server error. In order to fix this and have the site render an placeholder image. You have to add a handler to your web.config file. Navigate to the section "/configuration/system.webServer/handlers" and add the following handler.

Code Block
languagexml
<add name="DFSNotFound" verb="GET" path="dfsmedia/notfoundAsset" type="DFS.Client.Services.Handlers.DfsNotFoundMediaHandler" />

...