Hello,
How can we upload NFT image as an object in SUI .
Is there any doc somewhere for this ?
Usually the way to go would be to encode the image on base64 format, in order for the display standard and explorers to be able to directly display it. This would mean that the display image_url
field would look something like:
data:image/svg;base64,{image_field}
which would in turn resolve to something like: data:image/svg;base64,iVBORw0KGgo...
which would then display on explorers.
There is a caveat though: You cannot have an object with size larger than 256KB. If you want to use an image that its size is larger you would need to depend on an external solution decentralized or not. eg. walrus.