Missed image dimensions in GraphQL

Hello!
I have 4 image dimensions, but in graphQL comes only 2:

https://greenlinehybrid.prismic.io/graphql?query=query%20{ %20%20home_page(uid%3A%20"home-page"%2C%20lang%3A%20"en-us")%20{ %20%20%20%20group_sections%20{ %20%20%20%20%20%20image%2C %20%20%20%20%20%20title%2C %20%20%20%20%20%20text%2C %20%20%20%20%20%20link_label%2C %20%20%20%20%20%20block_type%2C %20%20%20%20%20%20name_in_scroll_menu %20%20%20%20} %20%20} }

image should have "xs", "sm" and "md" resolutions, but "sm" is missed:

Hi @ekvixgroup, my guess is that you just need to republish this document. When you add new image views to a Custom Type, any existing document won’t automatically reflect those additions.

So I believe that if you republish that document and refresh the GraphQL API, you should see all the image views.

Just tried to republish - still have the issue.

How can I report a bug?

@ekvixgroup I’ll take a look and investigate further. I’ll let you know what I find.

1 Like

@ekvixgroup I took a look and it appears that those image views are missing an image. This is why it is missing from the API:

All you need to do is add an image to that view and republish the page.

1 Like