Versions Compared

Key

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

...

Here 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 required 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 ratio of 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 ratio of the image.
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3/resize/350x350

...

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

This will crop with an aspect ratio 4:1 and crop from the top left corner and then resize down to width 400 px and height 100 px.
/dfsmedia/baeefe6b74df44be8a2bccfb2c57af8e/192-3/resize/400x100/cropsize/400x100/cropmode/AspectRatioBased/cropposition/TopLeft

Understanding the DigizuiteMediaCache

...