-
danielnv
Hi, sometimes images are not displaying in a product loop. I am using: {{featured_image key:url}}
I assume as the image is empty, it does not display on the frontend.
I have tested that the image thumbnails are regenerated an existing.
-
Hi there,
I checked the query block on the page you linked; however, the image does not look like inserted with GB’s image block, but a WP block.
Let me know if I miss anything!
-
danielnv
This is the code for the block used:
<!-- wp:generateblocks/media {"uniqueId":"a1df5f7a","tagName":"img","htmlAttributes":{"src":"{{featured_image size:product|key:url}}","alt":"{{featured_image key:alt}}"},"className":"overlay__image-cropped"} --> <img class="overlay__image-cropped" src="{{featured_image size:product|key:url}}" alt="{{featured_image key:alt}}"/> <!-- /wp:generateblocks/media --> -
I can not find the block you attached, I searched the id, nothing returned.
This is what I see, the images are from the WP block.
https://app.screencast.com/LS6jSsTFECg8N -
danielnv
The block is in a template part.
Here’s how it’s being used: https://postimg.cc/r0t0QS6d
-
Can you remove the non-GB blocks in the query block so I can see it more clearly?
Just to be sure, the section in your screenshot is this one on homepage?
https://app.screencast.com/jUhC5jryvyPGT
- You must be logged in to reply to this topic.