How to Add Metadata to Your Media in Cosmic JS


Media files contain properties that describe the contents of the file. For example, an image could include metadata that describes the size of the image, the color depth, the image resolution, when the image was created, the photographer and any other data sets that you want to keep track of for identification and organization. 

Metadata is extremely important for SEO as it speaks to search engines directly from each page crawled, to communicate important information or request a specific action from the search engine. Cosmic JS provides an easy modal to manage media metadata, located within the Object Settings of the media file you're looking to edit. 



How to Add Metadata to Your Media in Cosmic JS

Navigate to your Bucket Dashboard > Media.  Hover over the Media that you want to add metadata to and click "Add Metadata".


Add your key / values to the Media and click "Save Metadata".


Your Media now has the metadata available via the media endpoint.


I hope that you've found this tutorial helpful. If you have questions or comments about Content Editor Features in the Cosmic JS system, I'd love to hear about them. 

carson@cosmicjs.com 

Was this article helpful?

Thank you! Your input helps us improve our articles and resources. If you have any other questions or comments, please contact support.

You may also like


In this tutorial, I'll show you how to deploy your Gatsby Blog to Netlify and trigger automatic rebuilds on content edits using Cosmic JS Webhooks.
Cosmic JS empowers developers and content editors by giving them the tools they need to accomplish their jobs in concert with one another.
In this tutorial we gonna build ReactJS powered application using CosmicJS for saving data.
Cosmic JS allows developers to deploy their codebases to the Cosmic JS App Server for staging, testing and demo purposes, and is now offering new production deployment options available with some of your favorite deployment services.
You have the ability to add Quick Links to Your Cosmic JS Bucket Dashboard. Quick Links are a great way to easily navigate to other websites, shared resource documents, CRMs, task management software or team collaboration tools directly from your Cosmic JS Bucket Dashboard.
This is a quick example to show some of the powerful things you can do with the Cosmic JS NPM Module. This script will, add a Bucket to your Cosmic JS account, add an Object Type (Pages) and add a few Pages.