Skip to content
0
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
  • Home
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Sketchy)
  • No Skin
Collapse

Wandering Adventure Party

  1. Home
  2. Uncategorized
  3. #MediaWiki question: I want to use a screenshot of the interactive map embedded on the main page of the wiki as its social media preview card because that map is such an eye catcher.

#MediaWiki question: I want to use a screenshot of the interactive map embedded on the main page of the wiki as its social media preview card because that map is such an eye catcher.

Scheduled Pinned Locked Moved Uncategorized
mediawiki
5 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Jürgen HubertJ This user is from outside of this forum
    Jürgen HubertJ This user is from outside of this forum
    Jürgen Hubert
    wrote last edited by
    #1

    #MediaWiki question: I want to use a screenshot of the interactive map embedded on the main page of the wiki as its social media preview card because that map is such an eye catcher. But I want to do so _without_ adding this screenshot to the actual page.

    The best I can think of is to cheat by adding this image with a scaled size of 1 pixel somewhere on the page so that it doesn't get noticed, but are there other options?

    Link Preview Image
    Sunken Castles, Evil Poodles Wiki

    favicon

    (wiki.sunkencastles.com)

    Link Preview Image
    Wouter LindenhofD 1 Reply Last reply
    0
    • Jürgen HubertJ Jürgen Hubert

      #MediaWiki question: I want to use a screenshot of the interactive map embedded on the main page of the wiki as its social media preview card because that map is such an eye catcher. But I want to do so _without_ adding this screenshot to the actual page.

      The best I can think of is to cheat by adding this image with a scaled size of 1 pixel somewhere on the page so that it doesn't get noticed, but are there other options?

      Link Preview Image
      Sunken Castles, Evil Poodles Wiki

      favicon

      (wiki.sunkencastles.com)

      Link Preview Image
      Wouter LindenhofD This user is from outside of this forum
      Wouter LindenhofD This user is from outside of this forum
      Wouter Lindenhof
      wrote last edited by
      #2

      @juergen_hubert

      The image selected when it comes to sharing on social media is commonly determined by the `<meta property="og:image" ..>` (See https://ogp.me/ for more information)

      So I think your solution is here: https://www.mediawiki.org/wiki/Extension:OpenGraphMeta

      Jürgen HubertJ 1 Reply Last reply
      0
      • Wouter LindenhofD Wouter Lindenhof

        @juergen_hubert

        The image selected when it comes to sharing on social media is commonly determined by the `<meta property="og:image" ..>` (See https://ogp.me/ for more information)

        So I think your solution is here: https://www.mediawiki.org/wiki/Extension:OpenGraphMeta

        Jürgen HubertJ This user is from outside of this forum
        Jürgen HubertJ This user is from outside of this forum
        Jürgen Hubert
        wrote last edited by
        #3

        @DevWouter

        Does this allow you to make the actual image invisible on the page in question?

        Wouter LindenhofD 1 Reply Last reply
        0
        • Jürgen HubertJ Jürgen Hubert

          @DevWouter

          Does this allow you to make the actual image invisible on the page in question?

          Wouter LindenhofD This user is from outside of this forum
          Wouter LindenhofD This user is from outside of this forum
          Wouter Lindenhof
          wrote last edited by
          #4

          @juergen_hubert

          Setting the `og:media` property determines which image is shown in social media, so yes, you can refer to another image that is not on the page.

          Jürgen HubertJ 1 Reply Last reply
          0
          • Wouter LindenhofD Wouter Lindenhof

            @juergen_hubert

            Setting the `og:media` property determines which image is shown in social media, so yes, you can refer to another image that is not on the page.

            Jürgen HubertJ This user is from outside of this forum
            Jürgen HubertJ This user is from outside of this forum
            Jürgen Hubert
            wrote last edited by
            #5

            @DevWouter

            Testing...

            Link Preview Image
            Sunken Castles, Evil Poodles Wiki

            favicon

            (wiki.sunkencastles.com)

            1 Reply Last reply
            0

            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post