How would you just get the copyright metadata that is associated with an image in the DAM? If you used an image on a page and wanted to put the copyright informatation associated with it in the header.
1 person found this helpful
Assuming you are using image component on a page and copyright is a string. As a sample you could use  to get the copyright information. I am not well versed with the API as there might be an better option to implement. But this just gives you an idea for the information you were looking for.
Node refNode = resource.getResourceResolver().getResource(ResourceUtil.getValueMap(resource).get("fileRe ference","")).adaptTo(Node.class);
String copyRight = refNode.getNode("jcr:content/metadata").getProperty("dc:rights").getString() ;