From 7db1d931984fb0d455d294de1fd9eafc42273d4f Mon Sep 17 00:00:00 2001 From: Etay Matzliah Date: Fri, 29 Aug 2025 18:53:04 +0300 Subject: [PATCH] Updated metadata standard - collection banners --- .../02-metadata-standard/02-metadata-example.md | 11 +++++++---- .../02-metadata-standard/02-metadata-standard.md | 6 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-example.md b/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-example.md index a9c9ea4..7f334f0 100644 --- a/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-example.md +++ b/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-example.md @@ -25,11 +25,13 @@ Ensure you use the correct casing when defining attributes to avoid errors. "type": "image/jpeg" }, { - "url": "https://platform.production.enjinusercontent.com/enterprise/enjin/assets/media/2024-multiverse.banner.jpg", + "url": "https://cdn.enjin.io/mint/image/15.jpg", "type": "image/jpg" - } + }, + ], - "fallback_image": "https://cdn.enjinx.io/assets/images/ethereum/platform/0/apps/8/2b728df41fadef568e4410fb823999d14473ef1e.jpeg", + "banner_image": "https://platform.production.enjinusercontent.com/enterprise/enjin/assets/media/2024-multiverse.banner.jpg", + "fallback_image": "https://cdn.enjin.io/mint/image/15.jpg", "external_url": "https://enjin.io/multiverse" } ``` @@ -39,7 +41,8 @@ Ensure you use the correct casing when defining attributes to avoid errors. - `name`: The collection's display name. - `description`: The collection's description. - `media`: A list of links to media files (images, GIFs, videos, etc.) to be displayed as the collection media. - - The NFT.io marketplace uses the first provided media file as the collection's featured media, and the second provided media file as a banner image. + - The NFT.io marketplace uses the first provided media file as the collection's featured media. +- `banner_image`: A link to an image file to be displayed as the collection banner. (Recommended ratio: 4:1) - `fallback_image`: A link to an alternative image file to be used when the media provided in the `media` list fails to load. - `external_url`: A link to the collection's website. diff --git a/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-standard.md b/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-standard.md index b241fa5..0efc89d 100644 --- a/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-standard.md +++ b/docs/02-guides/01-platform/03-advanced-mechanics/02-metadata-standard/02-metadata-standard.md @@ -26,10 +26,10 @@ For a complete example of Collection & Token metadata, check out the [Metadata E Ensure you use the correct casing when defining attributes to avoid errors. ::: -There are two ways to create metadata for your tokens: +There are two ways to set metadata for your tokens: 1. **Off-chain - Hosted JSON File:** Set the collection or token attribute with the key `uri` and the value as a URL to a off-chain hosted JSON file. This file can be hosted either in a centralized manner or on IPFS. - The JSON file should contain metadata that follows the structure defined in the metadata standard. + The JSON file should contain metadata that follows the structure defined in the metadata standard. Example: ```graphql mutation SetMetadataUsingJSON { @@ -50,7 +50,7 @@ There are two ways to create metadata for your tokens: } ``` -2. **On-chain - Directly Setting Metadata:** Set the metadata directly on-chain using a structure that follows the metadata standard. +2. **On-chain - Directly Setting Metadata:** Set the metadata directly on-chain using a structure that follows the metadata standard. Example: ```graphql mutation SetMetadataDirectly {