Configure attachment type - Fluid Topics - Latest

Map Attachments

Category
Technical Notes
Audience
public
Version
Latest

A Type icon appears to the left of the title of each attachment to help users know at a glance what type of content to expect before opening an attachment. It is possible to configure content to manage which type of attachment is available.

Example

When redirecting users to a JPEG image available on a different web page, it can be helpful to display the JPEG icon and an arrow in the Reader page. To do so, add the filename with the image/jpeg MIME type in the ft:mimeType tag as follows:

<ft:attachment>
    <ft:originId>mounting_scheme</ft:originId>
    <ft:url>https://timemachines.com/time-machine</ft:url>
    <ft:displayName>Time Machine Mounting Scheme</ft:displayName>
    <ft:mimeType>image/jpeg</ft:mimeType>
</ft:attachment>

This prompts Fluid Topics to display icons showing users that the Time Machine Mounting Scheme is both an external link and a JPG image.