Media files, such as pictures, videos, or documents, are essential to your content items. In Kontent.ai, these media files are called assets.You can do a lot with assets. It all depends on your content model and the options available to you as a content creator.
Add assets to your content items
There are several ways to add assets. Which to choose? That depends on two criteria: your intent and how your content is structured.
Add assets in predefined fields
If your content item comes with asset elements, adding new assets is straightforward. Drag your file onto your asset element. Or click browse to select a file from your hard drive. You can also reuse existing assets.With asset elements, you can upload anything from pictures to videos, or even documents, such as PDFs. Your asset element might have guidelines that tell you what kind of assets you should use.
Add assets to the text
If you need to add an image without specifying information about the image’s width, alignment, or caption, go ahead and insert the image directly in your text.In your rich text, click and then . The image will be inserted at the position of the cursor.
Add assets with single-use contextual information in the text
If you need to specify how the image should look in context with the text around it, you’ll want to insert the image through a component. For example, this lets you specify image metadata like width, alignment, caption, and more.
In the rich text element, click and then .
From the list of types, select Image.
Your content type for assets might have a different name.
Fill in the elements.
Your image component with its associated information is now a part of the content item, sharing the item’s workflow and lifecycle.
Navigate to the asset element that holds the image.
Click in the image’s top-right corner.
Customize the image dimensions to fit your needs.
If there are any limitations set for the element, customized dimensions are prefilled to fulfill them.
Scale the image as needed by moving the slider.
You can’t scale the image beyond its original size.
On the left, move the image selection to get the desired part of the image.
(Optional) Click Preview to see what your customized image looks like.
Your customized image is now used in the asset element of the specific content item. The original image is not affected by this change.
Remove image customization
To remove an image customization, click and then Delete customized image in the lower-left corner. The customized image will be deleted and replaced by the original image.
Replacing assets is similar to adding new ones. After you upload a new asset, remove the outdated one by clicking in the top-right corner.If you convert your image component to a content item, you can replace the asset across your entire project. You only need to replace it in one content item, and it will be updated everywhere.To replace one image with another:
In Content & assets, enter the name of the image item in the filter at the top.
Now, your asset will be automatically replaced wherever it is used (you can see where under Used in in the right sidebar).
Tagging your assets is like brushing your teeth. You may find it a chore at first, but everyone will be grateful if you keep at it in your day-to-day. Tagging helps you keep your library organized and the asset easy to find.Put a shiny smile on your assets with asset taxonomies.
Fill in the asset taxonomies that you see under localized descriptions.
If you need to tag multiple assets, use your asset library. In Content & assets > Assets, select a few assets, and click Assign taxonomy terms.
Find your assets
Find the assets you need using the search bar. The search looks into asset titles, file names (including file extensions), and descriptions. You can sort assets by name, creation date, or file size. In the asset library, Kontent.ai remembers your selected sorting option.With advanced asset management, you also get to filter assets by your asset taxonomies. For example, you can quickly find assets based on what they contain, which department they belong to, or where they’re used on your site. The options depend on how you set up your taxonomies and whether all assets are tagged.
Nobody likes duplicate content, much less duplicate assets.To re-use the existing assets from your project in your new content item:
To change the order of the assets within the element, drag them by grabbing the button in its top-left corner.
You can remove an asset from a content item by clicking in the top-right corner of the asset card.When you remove an asset from your content item, the asset itself is still kept in your project’s asset library. Make sure you delete the asset if you no longer need it. Less clutter helps in the long run.
From single-use to re-useIf you later find another use for the content in your component, you can always convert it to a content item by clicking .This conversion cannot be undone. If done by accident, archive the new item and create your component again.