• Resolved rodrigo1099

    (@rodrigo1099)


    GOAL: I do NOT want to automatically share my posts to social media. I only want to share certain ones MANUALLY, when I choose.

    PROBLEM: With most pages, when I share to Twitter, NO image shows up. On one particular page, an image DOES display, but it is the WRONG image. That is the page I have identified here as the one I need help with. My hope is if we can figure out what’s wrong with THAT particular page, we can fix what’s wrong with all the other pages.

    On the identified problem page, the image that displays on Twitter is the very last image at the bottom of the page, whose caption begins “The late great Jonathan Rowe…” and whose filename is: jonathan-rowe-front.jpg

    This is the WRONG image. It’s not the one I want to appear on Twitter. But it always appears, on every test share, even when I DELETE the image from the article source code before sharing. Apparently this image is cached somewhere in the system.

    NOTE: The jonathan-rowe-front.jpg image was NOT selected from the Media Libary. Like all other images on this page, it is linked the old-fashioned way, directly from an FTP folder, using the IMG SRC tag.

    My understanding is that the image that SHOULD appear on Twitter is the Featured Image, which I DID select from the Media Libary in the recommended fashion and whose filename is: JFK_poster110x`60.jpg.

    Even though this image is selected as the Featured Image, it NEVER shows up on Twitter.

    In fact, the selected Featured Image NEVER shows up on Twitter, either for this article or for any others.

    FINALLY, Jetpack support suggested that my Corporate theme might be the problem, but I tested all this on the WordPress 2020 theme and got the exact same symptoms.

    Please advise.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Contributor James Huff

    (@macmanx)

    when I share to Twitter, NO image shows up.

    We use Twitter Cards for Tweet display. On Twitter itself, an image will appear, but that’s generally up to Twitter. And, because Twitter hasn’t extended Twitter Cards to their APIs, third-party Twitter apps will only display the title and link.

    On one particular page, an image DOES display, but it is the WRONG image.

    Twitter will use the OpenGraph tags we set to inform its choice of the image, in this case it’s:

    <meta property="og:image" content="https://www.richardpoe.com/images/jonathan-rowe-front.jpg" />

    So, Twitter is choosing the correct image, but I guess the problem is the desired image is not being used.

    Double-check the featured image and re-save the post. You can confirm that worked by viewing your site’s source and searching for og:image it should be now set to the desired image.

    If not, are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? If so, would you please try clearing the cache?

    Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so. 🙂

Viewing 1 replies (of 1 total)

The topic ‘Jetpack Twitter sharing shows wrong image’ is closed to new replies.