• As you may know, when using the Facebook ‘Like’ button a thumbnail appears on the wall of the person who liked the post/page/etc.

    We can set what the thumbnail is by calling the following code in the <head>:
    <meta property="og:image" content="https://www.site.com/images/thumbnail.jpg" />

    However in each of my posts I have already defined a thumbnail for use on the category archive by making a custom field called ‘Image’.

    Is it possible for me to call that image in the <head> using PHP so the same thumbnail appears on Facebook walls?

  • The topic ‘Facebook 'Like' image from custom field?’ is closed to new replies.