Trendy websites like github.com:
generate gorgeous Open Graph images.
We can create such images for filtered archives – autogeneration of og:image should be an option just like the title, description, h1, above-products-html or below-products-html.
PHP GD Library functions are total crap, so it has to be a headless browser taking a screenshot of the requested HTML template.
dev.to uses: https://docs.htmlcsstoimage.com/ but it’s a bit pricey, a custom Vercel/Netlify serverless function would be better:
July 14, 2021 @ 11:51 pm
July 15, 2021 @ 12:31 am