mediachain / oldchain-client

[DEPRECATED] old mediachain client experiments
MIT License
4 stars 2 forks source link

store image thumbnails in datastore, add links and base64 urls in meta #13

Closed yusefnapora closed 8 years ago

yusefnapora commented 8 years ago

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.

yusefnapora commented 8 years ago

oh, hmm.. looks like I need to fix something up. travis is yelling at me

vyzo commented 8 years ago

:+1:

parkan commented 8 years ago

I am actually totally OK with putting non-CBOR objects into IPFS.