Once Public Sharing is enabled, users can choose to Share or Embed their Public Resources as Public CDN Links. The options available will depend on the file type, i.e whether the file is an image, video, document, etc. The Share function allows you to copy and share a Public CDN link, including via the most popular Social Media channels.
For image files you can also apply transformation presets, allowing you to easily transform these files on the fly and optimizing them for distribution.
This article contains a full overview of the options available when using the Share option. Click on the items below to jump to specific sections.
Accessing Share / Embed Options
To load the Share page, go to the Resource you wish to Share. Providing the Resource is within a Public Folder (if not, you can enabled that follow the steps outlined here), go to the More actions icon and select Share / Embed Resource from the menu.
Note that if a resource is not supported for Embedding, the action will say Share Resource.
You can see an example of how to do this below:
Share / Embed Options
Once you've selected the Share action, the Share / Embed Resource overlay will appear. This is where you can decide on the type of link to share, as well as applying any transformation presets. The options available will depend on the file type of your resource. These are outlined below.
This is available for all field types and allows you to share an Internal link to other users of your platform (similar to the existing Email Link action). If they click on the link, they will be taken to that folder with the Resources highlighted at the top of the page. People without access to the platform will not be able to view this resource.
To copy the link, click the Copy Link button pictured below. This will automatically be copied to your clipboard so you can paste the link in an email, chat, etc.
This option provides a Public URL that will allow anyone to view the Resource, regardless of their access to the Platform. For some file types, ie Documents, the link will be the only option available. Users simply need to Copy and then send / load the link in their browser to access the file.
For Video files, an additional field (pictured below) called Link Type will be available. This lets users select between Adaptive Streaming and Direct video links. Select Adaptive Streaming if you want the link to provide a streaming player with additional play options. The Direct option will use the browser's native HTML5 player.
For Image files, the user will be able to choose a Share Source; with the options being either Original or Preset. Original will share the Original file, whilst Preset will share the file with the selected presets applied, for example the Original image flipped or cropped.
If you select Social Media, you will be able to share the Resource directly to the selected Social Channel. Current options supported are Facebook, Twitter, Pinterest and LinkedIn. Please note that these options will only appear if the file type selected is supported by that system. For example, most video files can only be shared to Facebook and Twitter via this platform.
Like with the Public Link option above, additional field options such as Presets for Image files, will be available when sharing to Social Media channels.
Once a user has decided on sharing either the Original or Preset version, they can select the Social Media option they wish to share. The social platform will then automatically open with the Post page.
Embedding an Image
If your Resource is a supported image type, you will be presented with the below options to embed.
This field allows you to embed either the Original file or a Preset - ie applying transformations or specific parameters to the original. If Preset is selected an additional field will appear, allowing you to either Select an existing Preset or add a new one.
Embed Display Size
This is a custom field where you can add in the image display size when it is embedded into the external link or site. This could be useful if the destination has specific parameters. The options in this field allow you to select either the default (original) size, or enter custom dimensions.
This field will automatically be populated with the original name of the file. The alternate text field will be the default if the image cannot load and is useful to users with assistive technologies.
This is the code that the user can copy to embed into another source. Click Copy Code to copy the settings and options entered to your clipboard, then paste it to embed.
You can see an example of all the settings below:
Embedding a Video
When embedding a video file, you have a number of options to choose from, as outlined below:
This lets users select between Adaptive Streaming and Direct video links. Select Adaptive Streaming to embed a streaming player with additional play option. The Direct option will use the browser HTML5 player instead.
Embed Display Size
This is a custom field where you can add in the video display size when it is embedded into the external link or site. This could be useful if the destination has specific parameters. The options in this field allow you to select either the default (original) size, or enter custom dimensions.
This field will automatically be populated with the original name of the file. The alternate text field will be the default if the video cannot load and is useful to users with assistive technologies.
Whilst the default value for this is None, users can choose the set a specific alignment that will apply to the video once embedded. Options include Left, Right and Center.
This is the code that the user can copy to embed into another source. Click Copy Code to copy the settings and options entered to your clipboard, then paste it to embed the video.
Please note that the 'Resources' terminology referenced above may appear differently in your platform as these are customisable terms. You can view alternative options here.