Jump to content

Fetching an first image from a topic for JSON Schema


SeNioR-

Recommended Posts

Hi. For some time (at least for me), Google has started displaying the image on the right in search results on the desktop. 

image-on-righ.png.597baf42b4e3fd56c01e0eb3e8dff889.png

I admit that it looks cool except that it does not work with the Invision Community 😞 Google apparently does not want to download the same image as the user's avatar over and over again.

Is there any hope that IC will add a feature for fetching an image from a topic? e.g. from the first post it is in.

You can use such an image to the meta tag "og" and to the JSON Schema Markup.

<script type='application/ld+json'>
{
    "name": "Categories for Achievement Badges",
    "dateCreated": "2021-12-05T09:01:10+0100",
    "image": "//dne4i5cb88590.cloudfront.net/invisionpower-com/monthly_2020_09/NsG6U3vvlXU.thumb.jpg.d4b05c4699294571e9837b00bbfa3eb6.jpg",
<meta property="og:image" content="https://dne4i5cb88590.cloudfront.net/invisionpower-com/monthly_2019_09/og.jpg.5e6c57e8dfa140ce4ac18f1e757d3b45.jpg">
Edited by SeNioR-
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...