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

blocksJSON only contains the image ID, then we need to make additional calls to fetch the image data of a page #150

Open
brianpereradap opened this issue Jun 6, 2022 · 1 comment

Comments

@brianpereradap
Copy link

brianpereradap commented Jun 6, 2022

When we are querying a page that consists of a set Gutenberg ACF blocks, we would like to get all the images that are part of the block in a single request.

At the moment the block JSON on the page only consists of the image id. We have to now make additional call/s to fetch the image information for this block.

I there a way we can embed the image information into the blockJSON without needing to make additional calls?

image

@DesignyourCode
Copy link

Is there any movement on this? Are there any hooks for modifying the blocksJSON response so this could be added in that way?

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

No branches or pull requests

2 participants