• Resolved Bodhipaksa

    (@haecceity)


    For some reason I haven’t been able to get any images to appear in Twitter cards. I’ve tried on several pages, but here’s one example:

    https://www.wildmind.org/blogs/on-practice/why-your-new-years-meditation-resolutions-fail-and-how-to-make-them-stick

    On the Card Validator (https://cards-dev.twitter.com/validator) everything displays normally except that the image is some kind of default icon.

    The two image options I have checked are:

    • “Open Graph Image” custom field on the post
    • First image from the post/page content

    The image code that’s appearing in html view is this:

    <img class="alignright size-medium wp-image-36706" src="https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-325x338.jpg" alt="meditating woman" width="325" height="338" srcset="https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-325x338.jpg 325w, https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-162x168.jpg 162w, https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-150x156.jpg 150w, https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-300x312.jpg 300w, https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-192x200.jpg 192w, https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman.jpg 428w" sizes="(max-width: 325px) 100vw, 325px" />

    The og:image code points to the page rather than an image. I don’t know if that’s correct or not:

    <meta property="og:image" content="https://www.wildmind.org/blogs/on-practice/why-your-new-years-meditation-resolutions-fail-and-how-to-make-them-stick"/>

    Any thoughts?

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same problem but far less technical knowledge than the original poster.

    This plug-in fixed my issues with FB not showing an image for my homepage URL or post URLs when shared, but where Twitter cards were previously picking up the image from my post URLS automatically, now they don’t display any image (neither in the Card validator tool or in tweets).

    In my case, the image displayed in my post on my website was an embedded Flickr image. I set the Open Graph image settings to pull the first image displayed in the post.

    Again, this works on FB but not on Twitter, i.e. my issues still exist but they’re reversed.

    I saw several others reporting issues with Twitter card images without any replies, so I tweeted at the developer of the plug-in and he simply told me to post to the forum. :/

    Anyone out there have any ideas?

    otechwebmaster

    (@otechwebmaster)

    I have the same issue. Have you managed to fix it or to find a workaround?

    Thread Starter Bodhipaksa

    (@haecceity)

    I still have the same problem. I’m hoping that the plugin developer is looking into a fix.

    Thread Starter Bodhipaksa

    (@haecceity)

    Did you manage to figure out a fix, otechwebmaster? I’m still having no luck, and hoping that the plugin developer addresses this issue at some point.

    Sorry for the delay, everyone.

    @haecceity
    We’ve taken a look at the URL you provided and all the tags seem correct.
    The image is opening correctly also: https://www.wildmind.org/wp-content/uploads/2016/12/meditating-woman-325×338.jpg
    In fact, neither the Card Validator neither a real tweet shows up the image correctly: https://snag.gy/MzcPwJ.jpg
    We’ve checked the HTTP headers of the image URL and they seem ok also.
    We’re afraid we are not able to help you with this because we can’t also find an explanation for the problem.

    @emiliahija and @otechwebmaster
    Please take a look at https://www.ads-software.com/support/topic/read-before-posting-8/ for instructions on what information you should include in a support ticket.

    Thread Starter Bodhipaksa

    (@haecceity)

    Thanks for looking into this. It’s much appreciated. Perhaps the bug is on Twitter’s end…

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Image not being picked up in Twitter card’ is closed to new replies.