Site logo

[Support request] Same image from the same post coming in different sizes in 3 query loops

Home Forums Support [Support request] Same image from the same post coming in different sizes in 3 query loops

Home Forums Support Same image from the same post coming in different sizes in 3 query loops

Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #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.

    https://ibb.co/QpdVt4p
    https://potterywheelsreview.com

    #2471105
    Fernando
    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 Image and Data Source to Current Post.

    #2471106
    Minhaz

    No, I didn’t do that.

    #2471107
    Fernando
    Customer Support

    I see. Can you set that first? Let us know how it goes.

    #2471110
    Minhaz

    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.

    #2471117
    Fernando
    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?

    #2471118
    Minhaz

    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.

    #2471122
    Fernando
    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/#settings

    #2471124
    Minhaz

    I just set the object-fit to ‘cover’. But unfortunately, the issue remains unresolved.

    #2471137
    Fernando
    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

    #2471140
    Minhaz

    Sent. Plz check.

    #2471142
    Fernando
    Customer Support

    I’m not seeing it. Can you send it here again through the Private Information field?

    #2471145
    Minhaz

    Sent

    #2471146
    Minhaz

    Plz let me know if you’ve received it or not.

    #2471153
    Fernando
    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 PAGE to 3.

    Let us know how it goes.

Viewing 15 posts - 1 through 15 (of 18 total)
  • You must be logged in to reply to this topic.