Description
The Dynamic Gallery block shows images related to the current post, but the "related" scope only picks up images that were uploaded directly to that post — images added via the Media Library selector (i.e. re-using existing library items rather than a fresh upload) don't show up in the gallery.
Steps to reproduce
- Create or open a post.
- Add a Dynamic Gallery block.
- Add images to the post via the Media Library selector (choosing existing items rather than fresh uploads).
- Save and look at the Dynamic Gallery.
Expected
Images added via the Media Library also appear in the Dynamic Gallery — the gallery's inclusion rule accounts for both fresh uploads and existing library items used in the post.
Actual
Only directly-uploaded images appear in the Dynamic Gallery. Media-library-sourced images are ignored, even though they're visibly present in the post's content.
Reporter's own words
Images added via Media Library (rather than uploaded directly) don't show up in the Dynamic Gallery.
Environment
Description
The Dynamic Gallery block shows images related to the current post, but the "related" scope only picks up images that were uploaded directly to that post — images added via the Media Library selector (i.e. re-using existing library items rather than a fresh upload) don't show up in the gallery.
Steps to reproduce
Expected
Images added via the Media Library also appear in the Dynamic Gallery — the gallery's inclusion rule accounts for both fresh uploads and existing library items used in the post.
Actual
Only directly-uploaded images appear in the Dynamic Gallery. Media-library-sourced images are ignored, even though they're visibly present in the post's content.
Reporter's own words
Environment