SpaceCowMedia / commander-spellbook-site

The future and modernized version of the Commander Spellbook website
MIT License
28 stars 6 forks source link

Improve Combo Link Preview Image #153

Open crookedneighbor opened 3 years ago

crookedneighbor commented 3 years ago

The current image we use when previewing combos is the art from the first card in the combo. It would be cool if instead we did something like the images of combos that the Twitter account has been posting: http://twitter.com/CommanderSpell/status/1385624692917108737

We should be able to take a screenshot of a page with puppeteer: https://buddy.works/guides/how-take-screenshots-with-puppeteer-headless-chrome

As a short term solution, we could just grab a picture of the combo page when generating the pages. Ultimately, would be nice to create a dedicated preview page that formats them like the Twitter posts.

ldeluigi commented 2 months ago

Related to #480