NFT Image
2D image of a non-fungible token (NFT).
NFT Imageâ
For NFTs you own, the NFT image will appear with a shiny frame.

Editorâ
![[nft-image]editor_v7.18.png](/assets/images/[nft-image]editor_v7.18-3f8ee2c1da6f0eca28656de8b7846844.png)
Opensea Asset URLâ
Copy in the asset URL from OpenSea.
stretchâ
Stretches an image to fit the scale.
Blend Modeâ
This is used to determine how the image is blended with the content behind it. The available options are Combine, Multiply, and Screen.
Transparency modeâ
Choose how alpha is treated. (ignored or not)
EmissiveColor intensityâ
Choose the intensity of brightness.
Guiâ
If ticked, clicking on this NFT will show an HTML UI with information about the NFT
Scripting Propertiesâ
Scripting Properties {.tabset}â
urlâ
String; Links must be https://.
get()â
feature.get('url')
// returns: "https://..."
set()â
feature.set({'url':"https://www.opensea.io/"})
defaultâ
""
stretchâ
Boolean;
get()â
feature.get('stretch')
// returns: "https://..."
set()â
feature.set({'stretch':true})
defaultâ
false
blendModeâ
ImageMode; An enum :
- 'Multiply'
- 'Screen'
- 'Combine'
get()â
feature.get('blendMode')
// returns: "Multiply"
set()â
feature.set({'blendMode':"Combine"})
defaultâ
Combine
emissiveColorIntensityâ
number;
get()â
feature.get('emissiveColorIntensity')
// returns: "0.5"
set()â
feature.set({'emissiveColorIntensity':0.5})
defaultâ
0.5
typeâ
String;
get()â
feature.get('type')
/* or */
feature.type
// returns: 'nft-image'
Scripting Methodsâ
Scripting Methods {.tabset}â
getNftDataâ
A function that returns the opensea nftData of the specified feature.
- Arguments: callback (optional); a callback function to handle the nft's data.
exampleâ
feature.getNftData(console.log)
/* returns:
{
animation_original_url: "https://ipfsga..."
animation_url: "https://stora..."
asset_contract: {...}
...
}
example 2â
function showContractAddress(data){
console.log(data.asset_contract.address)
}
feature.getNftData(showContractAddress)
/* returns: 0x1das1rs6dfv...