This was cherry picked from the yn-demo branch, but with the ipfs bits removed. Thumbnails are written to the main (dynamo) datastore, and a link is added to the meta map. It also puts a base64-encoded data uri into meta for the indexer to use.
We could probably just do the base64 uri, since it's a bit redundant to put the data twice. Having the image available in ipfs made a bit more sense, but since the dynamo store isn't really public, maybe we don't need to have the image standalone there.
This was cherry picked from the yn-demo branch, but with the ipfs bits removed. Thumbnails are written to the main (dynamo) datastore, and a link is added to the
meta
map. It also puts a base64-encoded data uri intometa
for the indexer to use.We could probably just do the base64 uri, since it's a bit redundant to put the data twice. Having the image available in ipfs made a bit more sense, but since the dynamo store isn't really public, maybe we don't need to have the image standalone there.