Versions Compared

Key

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

...

Field

Description

SiloId

This is the Id of the silo that has the asset requested.

AssetId

Is the Id of the asset that is requested.

Quality

Overrides the quality specified in the Sitecore field.

Quality supports both 'by name' and 'by id'

Resize

Only applies to image assets.

One of the concepts and principles when using a DAM system is to use specific qualities for every use. If images are needed in different sizes, it should be configured in Digizuite™ DAM.

However, there is a resize feature.

Width How wide the image will be in pixels.

Height How high the image will be in pixels.

By default a resize does not keep aspect ratio, but you can set an option to keep aspect ratio.

Cropsize

*

Only applies to image assets.

Cropmode

*You must supply a width and height. The way these parameteres are used is based on the cropmode and the cropposition.

If the cropmode is PixelBased then crop width and crop height are interpreted as pixels. If the cropmode is AspectRatioBased then crop width and crop height are interpreted as an aspect ratio. For instance, for the aspect ratio 1:2, the image is cropped to the largest possible image with the given aspect ratio.

Cropmode

*

How to interpreted the crop width and crop height.

  • PixelBased (default)
    The crop width and crop height are interpreted as pixels.

  • AspectRatioBased
    The crop width and crop height are interpreted as an aspect ratio.
    For instance, for the aspect ratio 1:2, the image is cropped to the largest
    possible image with the given aspect ratio.

Cropposition

*

When cropping, the focus point can be one of the following:.

  • TopLeft

  • Top

  • TopRight

  • Left

  • Center (default)

  • Right

  • BottomLeft

  • Bottom

  • BottomRight

OutputImageFormat

*

Control the output format, when resizing and or cropping. If this property is not set, the output format will be the same format as behind the quality property.
The valid output formats:

  • JpegImageFormat

  • AvifImageFormat

  • PngImageFormat

  • WebPImageFormat

Compress

*

Only applies to image assets.

Indicates whether the asset should be saved using a worse quality, thereby reducing the physical size. 

from 0-100 is allowed, where 0 is the worst quality, but least physical storage.

Options

*

Options is a dash ("-") separate list and can contain these options:

download - Will download the asset requested.

keepaspectratio - Will enforce aspect ratio on from the original asset, if a resize is requested.

boxfit - If a resize ia requested and you supplyed both the width and heigth. The resized image will not exceed these values and still keep the aspectratio.

upscaleallowed - Will allow upscaling an image. The default is to disallow that.

...