Site logo

[Resolved] The caption in the image block appears 3 times

Home Forums Support [Resolved] The caption in the image block appears 3 times

Home Forums Support The caption in the image block appears 3 times

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #2504300
    Bernhard

    Hi there,
    I made the following image block:

    <!-- wp:generateblocks/image {"uniqueId":"13f2c61b","mediaId":37577,"sizeSlug":"medium","widthMobile":"200px","heightMobile":"150px","alignment":"floatRight","useDynamicData":true,"dynamicLinkType":"single-image","paddingLeft":"10","paddingLeftMobile":"10"} -->
    <figure class="gb-block-image gb-block-image-13f2c61b"><img class="gb-image gb-image-13f2c61b" src="https://www.tourist-in-rom.com/wp-content/uploads/2021/02/Sixtinische-Kapelle-Aufbau-300x200.jpg" alt="Fondamenta della Cappella Sistina" title="Fondamenta della Cappella Sistina"/><!-- wp:generateblocks/headline {"uniqueId":"ab98c1c0","element":"figcaption","backgroundColor":"","textColor":"","linkColor":"","linkColorHover":"","borderColor":"","highlightTextColor":"","fontSize":14,"iconColor":"","isCaption":true} -->
    <figcaption class="gb-headline gb-headline-ab98c1c0 gb-headline-text">rosso = cappella giallo = vecchia struttura</figcaption>
    <!-- /wp:generateblocks/headline --></figure>
    <!-- /wp:generateblocks/image -->

    As you can see here, the caption is displayed 3 times. At the bottom is the correct caption. Above one are two with link to the image, one with the correct character size and one with the standard size.

    How can I fix this?

    #2504984
    David
    Staff
    Customer Support

    Hi there,

    there seems to be something wrong with that Blocks HTML. Can you delete it and try remaking the Image Block ?

    #2505074
    Bernhard

    Hi David,
    I remade the image block and found, that it happens when I use the dynamic link to the single image. When I insert the link manually the caption is ok. Is this perhaps a bug?
    I don’t use captions that often but to set the links manually is an extra effort.
    Thank you.

    #2505299
    Fernando
    Customer Support

    Hi Bernhard,

    For clarity, can you provide a screenshot of the dynamic link setting?

    We’ll try to assess what’s occurring or if it’s a bug afterward.

    Uploading Screenshots: https://docs.generatepress.com/article/using-the-premium-support-forum/#uploading-screenshots

    #2505481
    Bernhard

    Hi Fernando,
    here is the screenshot.

    By the way, the line break in the caption must be set manually. If the caption extends beyond the width of the image, it moves the entire image block.

    #2506088
    David
    Staff
    Customer Support

    Can you provide a screenshot of the List View for that block so we can see whats inside the Image block ?

    #2506107
    Bernhard

    Hi David,
    here is the screenshot.

    Actually I substituted the dynamic link with a manual link. But you can see it on the staging site with the dynamic link. The link to the staging site is added in the private information.

    #2506583
    Fernando
    Customer Support

    That’s really odd.

    Can you provide admin login credentials so we can take a closer look?

    Please use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    #2506673
    Bernhard

    Hi there,
    here it is.

    #2506726
    Fernando
    Customer Support

    Thank you.

    Can you try #1 here to test?: https://docs.generatepress.com/article/debugging-tips/

    It would be good to back up your site before doing so.

    #2506778
    Bernhard

    Hi Fernando,
    Now all plugins are deactivated. Only GP Premium, GenerateBlocks, GenerateBlocks Pro and Polylang are active (and now temp login). But the problem is still there.
    I deactivated also Polylang, but it makes no difference.

    #2511670
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    This is a confirmed bug. We’ll have it fixed in the next GB 1.7 release 🙂

    Thanks!

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