We'll use some very basic TypoScript and see how metadata stored in DAM records can be rendered on a page, along with the media objects, or even in them. This is commonly used for inserting accessibility tags (
title) into images.
setupfield, add the following, replacing
page.17with a path to the object you want to place the content in, and replacing
1234with the UID for a DAM record, whose caption you would like to display:
page.17 = TEXT page.17.data = DB:tx_dam:1234:caption
Data property is available wherever
stdWrap is applied. So, you can display any of the metadata available in the DAM record, almost anywhere. ...