- This topic has 17 replies, 2 voices, and was last updated 3 years, 4 months ago by
Minhaz.
-
AuthorPosts
-
December 22, 2022 at 7:42 pm #2471093
Minhaz
I queried the same post in three side-by-side containers with same dimensions. But the same featured image is appearing in 3 different sizes in 3 query loops! Difference in image size is also resulting in misaligned post titles.
December 22, 2022 at 7:58 pm #2471105Fernando Customer Support
Hi Minhaz,
To clarify, did you set the Dynamic Options of the Image Block? Reference: https://docs.generateblocks.com/article/image-overview/#dynamic-data
Make sure the data type is set to
Featured Imageand Data Source toCurrent Post.December 22, 2022 at 8:01 pm #2471106Minhaz
No, I didn’t do that.
December 22, 2022 at 8:03 pm #2471107Fernando Customer Support
I see. Can you set that first? Let us know how it goes.
December 22, 2022 at 8:08 pm #2471110Minhaz
I just found out that the featured image was set to Dynamic by default. If I turn it off, then I am prompted to manually upload the image, which I don’t find convenient.
December 22, 2022 at 8:19 pm #2471117Fernando Customer Support
On Query Loop Blocks, you have to set it to Dynamic if you’re looking to retrieve the Featured image of each post.
You shouldn’t need to manually do it.
Is the Dynamic option of the Image Block not working?
December 22, 2022 at 8:22 pm #2471118Minhaz
The featured image is being dynamically retrieved in my case. I didn’t pull them manually. But once the images are dynamically retrieved, they are not the same size.
December 22, 2022 at 8:27 pm #2471122Fernando Customer Support
I see. Can you try setting the object-fit of the Image Block to
cover? Reference: https://docs.generateblocks.com/article/image-overview/#settingsDecember 22, 2022 at 8:30 pm #2471124Minhaz
I just set the object-fit to ‘cover’. But unfortunately, the issue remains unresolved.
December 22, 2022 at 8:42 pm #2471137Fernando Customer Support
I see. Can you provide admin login credentials? We’ll take a closer look at the issue.
Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
December 22, 2022 at 8:47 pm #2471140Minhaz
Sent. Plz check.
December 22, 2022 at 8:50 pm #2471142Fernando Customer Support
I’m not seeing it. Can you send it here again through the Private Information field?
December 22, 2022 at 8:53 pm #2471145Minhaz
Sent
December 22, 2022 at 8:54 pm #2471146Minhaz
Plz let me know if you’ve received it or not.
December 22, 2022 at 9:08 pm #2471153Fernando Customer Support
Yes, it’s added.
I see. Your setup is incorrect. You should only need one Query Loop Block as opposed to 3.
Basically, instead of placing a Grid Block with three different Query Loops, just place one Query Loop Block inside your Container. Then, Set the
POSTS PER PAGEto 3.Let us know how it goes.
-
AuthorPosts
- You must be logged in to reply to this topic.