4 ms·
I like the image previews/thumbnails that appear in the threads from the actual site. I assume you're rendering/screenshotting the site for mobile/desktop in or
by ralusek 7y ago
I like the image previews/thumbnails that appear in the threads from the actual site. I assume you're rendering/screenshotting the site for mobile/desktop in order to generate the previews.
Is there a particular tool you're using/that you'd recommend? Headless Chrome, PhantomJS, NightmareJS? Do you just wait an arbitrary amount of time to assume the necessary visuals have loaded/rendered, or is there a feedback mechanism to indicate when it's ready to be captured?
- mariedm 7y agoThank you, I'm using webshot-node (which relies on PhantomJS) but I might actually change. It doesn't always work well. There are different options (like waiting for the website to respond, or waiting for a specific amount of time), but even by tweaking those parameters it's not always reliable. I might give a try to capture-website soon.
- ralusek 7y agoWill check those out, thanks.