ProjectOpenSea / embeddable-nfts

Easily embed OpenSea listings in your website!
329 stars 140 forks source link

View setting and select what metadata to show #10

Open Benjythebee opened 4 years ago

Benjythebee commented 4 years ago

Hey, I've been playing around with the embeddable-NFT as I think it's a cool feature. I've added it in a tiny space and this is what happens:

image

That made me think and I think it would be cool to have an option that allows us to choose what metadata to display at the back of the card. It would also be cool to have an attribute "img-only" that would only show the image at the front of the card.

Loving it though, cheers team,

taylorjdawson commented 4 years ago

@Benjythebee thanks for the feedback, great suggestions! Just curious, did you try playing with the orientation? Vertical might look better here although the metadata would still be cramped I think. I like the idea of choosing which metadata to display! And with img-only are you envisioning a card that just doesn't flip?

Benjythebee commented 4 years ago

Hey @taylorjdawson , Glad you like the idea of selective metadata! I haven't quite played with orientation, only size! The reason I haven't is mainly because of this:

horizontal - If this is present, the card will be rendered horizontally.

So I assumed that if I did not put "horizontal" it would be vertical. If reading this you're thinking "yep that's right", well it didn't quite make it vertical ahah :/

Finally, by img-only I meant a flippable card, but without the name and/or button on the front! Have a look at this quick video I made. In this example it would be cool to show just the image of the NFT at the front.