• Resolved detroitwidget

    (@detroitwidget)


    Hi Guys,

    I just wanted to get clarification on the featured image behavior under social media settings:

    1. If a page has no featured image set, TSF will use the Social Image Fallback.
    2. If there is no featured image and no fallback, TSF will use the second(?) image on the page. (This seems to be happening, but I’m not sure.)
    3. If there’s no featured, fallback, or second page image, nothing will be displayed.
    4. I can override the page editor Social Image URL autofill behavior by selecting a different image of my choice.

    Is this correct, or am I missing something?

    Thanks.

    —–

    Host: WP Engine
    Server: Nginx
    PHP 7.4.18
    WordPress 5.8
    GeneratePress 3.0.4 with starter child theme
    GenerateBlocks 1.3.5
    GP Premium 2.0.3
    Gravity Forms 2.5.9
    The SEO Framework 4.1.4

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Sybre Waaijer

    (@cybr)

    Howdy!

    Sorry for my belated reply — Gutenberg’s update seized priority.

    Here’s the actual order for the singular posts/pages. The homepage is a little different, for it looks at the Homepage Settings first.

    When multiple images are requested, more than one of these images may be outputted (still in this order):

    • Custom image set in the SEO meta box.
    • Post’s featured image.
    • Images from the content.

    If an image is found above, none of the following get fetched. Otherwise, the first detected of these fallbacks is captured for processing:

    • Fallback image from SEO settings.
    • Theme Custom Header image (Customizer option).
    • Theme Custom Logo image (Customizer option).
    • Site icon.

    The processing of the fallback images is crude: It stops at the first image found in any of the above, which might get discarded later; thence, no Open Graph or Twitter image is outputted.

    Fallback images are ignored for Structured Data, such as with Articles.

    After fetching the images, they are validated for use: They must meet minimum/maximum dimension requirements (if too large: find smaller if possible) and be of a non-invalid extension type.

    To clear the confusion around TSF picking up the “second content-image”: The first image might’ve been displayed in an HTML tag that isn’t supported.

    Thread Starter detroitwidget

    (@detroitwidget)

    Wow. Thanks for taking the time to explain this so clearly.

    Based on your comments about fallback images, would you recommend always setting a specific post image (either by featured image or SEO meta box)?

    Thanks again. Splendid plugin.

    Plugin Author Sybre Waaijer

    (@cybr)

    Hello!

    Social-sharing-images do not affect ranking.

    So, I recommend doing what you think is best for the viewer of a link shared to your page. You’ll know what’s right from wrong, what’s easy from expedience, and what’s efficient from expensive.

    I can’t bother because I do not have the time to create beautiful images. It is a pain point I’ll resolve someday — by devoting that time I don’t have into coding a generator 🙂

    Thread Starter detroitwidget

    (@detroitwidget)

    Understood. Thanks again for all of your help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Featured image behavior’ is closed to new replies.