Generate download or embed links for Orange Logic assets
You can generate several different types of links to assets.
- Get public link APIs: Generate public links that can be embedded in external sites. You can configure the asset format, expiration date, size, file extension, and more. You can also generate transformations to crop, resize, and rotate images as well as strip or preserve metadata and adjust image quality. These links are distributed through a CDN.
- Get an asset’s cloud storage link APIs: If you don’t want to generate a public link to an asset, you can generate a direct link to the asset in its cloud storage. For example, suppose you are building an integration between Orange Logic and another system. You want the assets to be shared with the third-party system, but you don’t need to embed the asset or make it visible to external users. In this case, you can generate a link to the asset in its cloud storage location.
Orange Logic users can also generate direct links to assets that they can copy from the Orange Logic interface. Direct links are not public embed links. Users must be logged in to Orange Logic when accessing direct links.
Feature documentation: Asset links
Additional option
The Create crop link API is a legacy endpoint that allows you to create a public link to a cropped version of an asset. This API has fine-grained parameters, allowing you to crop at the exact position of an image. The Get Link API described above uses an ImageResizingMethod
parameter that can only crop an image from a direction (north, northwest, etc.) or fit or stretch the image to fit a dimension.