Skip to content

Send page thumbnails, and null when the image is gone - #3

Merged
jeffreyvr merged 1 commit into
mainfrom
feature/page-thumbnails
Aug 29, 2026
Merged

Send page thumbnails, and null when the image is gone#3
jeffreyvr merged 1 commit into
mainfrom
feature/page-thumbnails

Conversation

@jeffreyvr

@jeffreyvr jeffreyvr commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Push the featured image as thumbnail (https, large size) so search and chat cards can show it.
  • Always send the key, including null, so removing a featured image and syncing again clears the stored URL in Datalumo.
  • WooCommerce products still fall back to the product image when the post has no featured image of its own.

Test plan

  • Sync a post with a featured image and confirm the page thumbnail is set in Datalumo.
  • Remove that featured image, sync again, and confirm the thumbnail clears.
  • Sync a Woo product with no featured image but a product image and confirm that URL is sent.
  • composer test in the plugin directory.

Made with Cursor

Omitting the key left a deleted featured image stored in Datalumo. Always send the field, and still fill Woo products from the product image when the post has none.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jeffreyvr
jeffreyvr merged commit d120ad8 into main Aug 29, 2026
2 checks passed
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