Create a screenshot of the page and set it as an open graphic image (meta tag)
I want to take a screenshot of the content <body>
in the page then set it as one opengraph page image:
<meta property="og:image" content="<-- image -->">
In fact, my page is generating results dynamically based on search keywords.
If I use php it doesn't work because php is executed before the body exists, so there is no snapshot.
How can I solve this?
+3
user3746998
source
to share
No one has answered this question yet
Check out similar questions: