Automattic / themes

Free WordPress themes made by Automattic for WordPress.org and WordPress.com.
https://themeshaper.com
GNU General Public License v2.0
897 stars 356 forks source link

Cubic theme: Featured images not displaying in social network previews #7728

Closed pauljacobson closed 6 months ago

pauljacobson commented 6 months ago

Quick summary

Our customer reported that their posts, when shared to Facebook, LinkedIn, and Twitter, don't produce featured images in the post previews on those social networks. The customer reported that this is a recent change, although when I reviewed their Twitter and Facebook profiles, it seems like the featured images haven't rendered for some time.

The customer pointed out two posts as examples:

Steps to reproduce

  1. Open Facebook or Twitter to test whether link previews include featured images
  2. Paste one of the post links into the post window in either service and wait for the post preview to render
  3. Notice that featured images do not display.

What you expected to happen

When shared on social networks, the posts' featured images should display as part of the post previews.

What actually happened

When I reviewed the customer's Twitter and Facebook pages, I noticed that featured images haven't displayed since at least 2018. Take a look here:

CleanShot 2024-04-09 at 16 22 39@2x

here:

CleanShot 2024-04-09 at 16 22 16@2x

When I ran the more recent links through Facebook's Debug tool, I noticed this error:

Provided og:image URL, http://frankfurt-expat.com/wp-content/uploads/2024/02/img_8432.jpg?w=900 could not be processed as an image because it has an invalid content type.

CleanShot 2024-04-09 at 15 54 43@2x

Browser

Mozilla Firefox, Microsoft Edge

Context

8015896-zen

Platform (Simple, Atomic, or both?)

Simple

Other notes

No response

Reproducibility

Consistent

Severity

Some (< 50%)

Available workarounds?

No but the platform is still usable

Workaround details

No response

github-actions[bot] commented 6 months ago

Support References

This comment is automatically generated. Please do not edit it.

mrfoxtalbot commented 6 months ago

Thank you for a great report, @pauljacobson! This appears to be a duplicate. I am closing it in favor of https://github.com/Automattic/jetpack/issues/36777 as it is older and has more traction.

pauljacobson commented 6 months ago

Thank you for a great report, @pauljacobson! This appears to be a duplicate. I am closing it in favor of Automattic/jetpack#36777 as it is older and has more traction.

Thank you. I didn't see that issue.