Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement . We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a filter to block_core_image_print_lightbox_overlay #60470

Closed
webzunft opened this issue Apr 4, 2024 · 1 comment
Closed

Add a filter to block_core_image_print_lightbox_overlay #60470

webzunft opened this issue Apr 4, 2024 · 1 comment
Labels
[Block] Image Affects the Image Block [Type] Enhancement A suggestion for improvement.

Comments

 @webzunft
Copy link

I am the developer of an image caption plugin for publishers who need to show image attributions for legal reasons.
With WordPress 6.5, lightboxes no longer show the caption I added to images in the post content since lightbox HTML is not rendered separately.

Ideally, I could add a placeholder for the caption into block_core_image_print_lightbox_overlay() using a filter, but there is none.
Would you be able to provide one?

In a next step, I would need to figure out how to fill it, but the render_block_core/image filter might just be good for that.

 @webzunft webzunft added the [Type] Enhancement A suggestion for improvement. label Apr 4, 2024
 @jordesign jordesign added the [Block] Image Affects the Image Block label Apr 4, 2024
 @annezazu
Copy link
Contributor

Hey @webzunft ! Thanks for opening this. I'm going to consolidate it with this recent issue #60469

I'll move your question there. Please follow along in that issue going forward.

Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment
Labels
[Block] Image Affects the Image Block [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

3 participants