Skip to content

Dynamic Open Graph images for SEO Metatag Info - #939

Merged
Fraenkiman merged 8 commits into
flatpressblog:masterfrom
Fraenkiman:Dynamic-Open-Graph-images
Aug 15, 2026
Merged

Dynamic Open Graph images for SEO Metatag Info#939
Fraenkiman merged 8 commits into
flatpressblog:masterfrom
Fraenkiman:Dynamic-Open-Graph-images

Conversation

@Fraenkiman

@Fraenkiman Fraenkiman commented Aug 14, 2026

Copy link
Copy Markdown
Member

This feature was inspired by Docthib's forum post.
Thank you very much for your contribution.

The implemented logic accounts for the following cases:

  • If multiple posts are displayed in the post stream with images, the first image should be distributed via Open Graph.
  • If multiple posts are displayed in the post stream with one or more galleries, the first image in the gallery should be distributed via Open Graph.
  • If a single post is displayed with one or more images, the first image should be distributed via Open Graph.
  • If a single post is displayed with one or more galleries, the first image in the gallery should be distributed via Open Graph.
  • When a static page with one or more images is displayed, the first image should be shared via Open Graph.
  • When a static page with one or more galleries is displayed, the first image should be shared via Open Graph.
  • The images are distributed in the social media-friendly aspect ratio of 1.91:1.
  • og:image:alt is derived from the optional image captions

ReadMore Plugin v1.0.4

  • Revised visibility layer

The implemented logic accounts for the following cases:
1. If multiple posts are displayed in the post stream with images, the first image (not the thumbnail) should be distributed via Open Graph.
2. If multiple posts are displayed in the post stream with one or more galleries, the first image in the gallery (not the thumbnail) should be distributed via Open Graph.
3. If a single post is displayed with one or more images, the first image (not the thumbnail) should be distributed via Open Graph.
4. If a single post is displayed with one or more galleries, the first image in the gallery (not the thumbnail) should be distributed via Open Graph.
5. When a static page with one or more images is displayed, the first image (not the preview) should be shared via Open Graph.
6. When a static page with one or more galleries is displayed, the first image (not the preview) should be shared via Open Graph.

ReadMore Plugin v1.0.4
- Revised visibility layer
@Fraenkiman
Fraenkiman merged commit 16d0ffe into flatpressblog:master Aug 15, 2026
3 checks passed
Fraenkiman added a commit that referenced this pull request Aug 16, 2026
This is a follow-up to PR #939
- The sitemap now includes an <image:loc> element.
- The SEO Metatag Info plugin and the sitemap now use the centralized Content Media Resolver layer.
Fraenkiman added a commit that referenced this pull request Aug 16, 2026
This is a follow-up to PR #939

- The sitemap now includes an <image:loc> element.
- The SEO Metatag Info plugin and the sitemap now use the centralized Content Media Resolver layer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant