Preview image of my site doesn't show

Hi Everyone

Username: epiz_31705444
Website URL: https://pokemon-empire-pbs.infinityfreeapp.com/OfficialWebsite/

I’m trying to generate a preview image of my site when sharing a link through social media platforms like discord. However, despite the meta tags I’ve added in the section, the image doesn’t generate when sharing the link

See the first few lines of the section of my script. Is there anything I’m missing or doing incorrectly?

<html style="font-size: 16px;" lang="en-US">
    <head>
    <title>Pokemon Empire Official</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="Pokemon Empire​, Empire, Pokemon, Fangame">
    <meta name="description" content="Pokemon Fangame created by Octavius3MC">
    <meta property="og:site_name" content="Pokemon Empire">
    <meta property="og:title" content="Pokemon Empire Official">
    <meta property="og:description" content="Pokemon Fangame created by Octavius3MC">
    <meta property="og:image" content="https://pokemon-empire-pbs.infinityfreeapp.com/OfficialWebsite/images/html_image.jpg">
    <meta property="og:image:type" content="image/jpeg">
    <meta property="og:image:width" content="640" /> 
    <meta property="og:image:height" content="336" />
    <meta property="og:url" content="https://pokemon-empire-pbs.infinityfreeapp.com/OfficialWebsite/index.html">
    <link rel="canonical" href="https://pokemon-empire-pbs.infinityfreeapp.com/OfficialWebsite/">
1 Like

The social media platform is probably blocked from accessing the image:

7 Likes

Thanks for the response!

Is this something I can solve on my end? Or is it because I’m using the free hosting service that the meta tags I’ve applied don’t function correctly

The meta tag itself works fine, it is just that our security system is preventing the social media site from getting the information from it.

Since you are using a free subdomain, and not a custom domain, there is nothing you can do about it unfortunately.

7 Likes

Ah bummer.

Doesn’t make much sense to purchase a custom domain solely for that feature so I’ll let it be.

Thanks for the speedy response

If you are looking for something free, try Freenom or eu.org.

3 Likes

3 posts were split to a new topic: Image preview for social media not showing