Versions Compared

Key

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

...

To disable the fallback logic open the config file DFS.Settings.config and locate the setting property <setting name="DFS.MediaPipeline.UseFallbackImageIfUnavailable" value="true"/> change the value to false and reload the site. Now when requesting images that is not ready, the connection will stay open until it finishes.

Examples

dfgdfgdfgHere are some use cases, that shows how the media handler works and how it is used in different situations.

This is the shortes url, these are the reuired parameters. Here we request the assetId 192 and the quality format id 3 (rendition from Digizuite).
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3

Resize, that will resize the image to a width of 350 px and keep the aspect regarding the height.
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3/resize/350x0

Resize, that will resize the image to a width of 350 px and a height of 350 px. This will not respect the aspect of the image.
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3/resize/350x350

Crop, this is the shortest use of the crop feature, this will set the cropmode to AspectRatioBased and then set the resizing width to 400 and the height to 100.
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3/cropsize/400x100

The above url would be the same as this
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3/resize/400x100/cropsize/400x100/cropmode/AspectRatioBased

Understanding the DigizuiteMediaCache

...