Create public links

Sitecore Content Hub lets you create public links for assets that you can share externally. You can create a public link for a single asset from its details page or links for multiple assets at the same time, using a bulk operation.

If you try to create public links for an asset that has no renditions, Content Hub generates these links for anticipated renditions and leaves them in a Pending state until renditions become available. For example, if you configure public links for image assets that have no renditions, Content Hub will generate a link for the preview rendition, but not for an MP4 rendition.

Note

Content Hub supports JPEG, PNG, and WEBP images with a size of 50 MB or smaller, and videos with a maximum file size of 5 GB.

After you've created public links, you can use them to layer images and perform image transformations.

Important

We do not recommend you use public links for video hosting or traffic management. For this, it is best to integrate with a video hosting solution.

To create a public link for a single asset:

  1. On the menu bar, click Assets.

  2. On the Assets page, find the asset you want and click it.

  3. On the asset details page, click More actions > Public links .

  4. In the Public links dialog, click + Public link.

  5. In the New public link dialog, enter the following information:

    Field

    Description

    Rendition

    Rendition of the asset for which you want to create a public link.

    Crop

    Don't crop, Crop to center, Crop to a custom focal point, Smart crop, or Manual crop. Selecting Crop to a custom focal point displays an Edit focal point button letting you set up a focal point that is initially centered.

    Dimensions

    Choose the size of the image for this link:

    • Don’t resize - uses the image’s original dimensions.

    • Custom width and height - adds Width and Height fields to the dialog, letting you specify a custom width and height.

    • Preset dimensions.

    The image aspect ratio is locked, so changing one of these values will automatically change the other.

    URL path

    Automatically generated URL path setting for a public link. Clicking Refresh refresh icon generates a new URL path setting that you can edit manually. You can use the auto-generated path setting or enter one of your own (for example, Figure1-cropped).

    Link expiration

    Expiration date for the link. Selecting no value means the public link never expires.

  6. Click Save.

To create public links for multiple assets:

  1. On the menu bar, click Assets.

  2. On the Assets page, select the assets you want to create public links for.

  3. Click More actions > Create Public Links create public link icon.

  4. In the Public links creation dialog, enter the following information.

    Field

    Description

    Expiration

    Expiration date for the links. Leave this field blank if you want the public links to never expire.

    Rendition

    Rendition of the asset for which you want to create public links.

  5. If you need to create another public link, click Add link and enter the necessary information.

  6. Click Submit.

Do you have some feedback for us?

If you have suggestions for improving this article,