• Resolved mmirlach

    (@mmirlach)


    Hi there,

    I’m using both Optimole and Advanced Gutenberg and the feature to generate lightbox images out of WordPress galleries.

    The issue is that with Optimole enabled, full size lightboxes images are no longer working.

    Is this something there’s work around for or would I either need to stop using Advanced Gutenberg or Optimole?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello,

    Can you share with us a link to your website or some screenshots with the issue?
    You can contact us directly on https://optimole.com/#contact so you can share privately.

    And we will help you pinpoint and solve the issue.

    Thank you!

    Thread Starter mmirlach

    (@mmirlach)

    You can see the issue here:

    https://www.wall-jump.com/martin-gantefohr/

    Thumbnails for the gallery (with the three images) should open full size.

    When deactivating Optimole, they do. If activated, they don’t.

    I’m also using Autoptomize, with Image optimization not enabled.

    Hello, this is caused by the gallery.
    It explicitly specifies a width and height of 226×151 that optimole respects.

    <div id="cboxLoadedContent" style="width: 226px; overflow: auto; height: 151px;"><img src="https://mlfrz83hbgvp.i.optimole.com/S-qT4zY.Yn2Q~61447/w:226/h:151/q:80/https://www.wall-jump.com/wp-content/uploads/2020/05/martin-gantefoehr-3-min.jpg" alt="" /></div>

    As you can see the container has explicit height and width specified as a result the URL generated by optimole is for those sizes.

    You can check if the gallery allows for those attributes to be changed, if not you can use the exclusion filter from Optimole to exclude from lazy-loading images with the class “cboxPhoto”

    Let us know if any of the steps solve the issue for you.

    Thank you!

    Thread Starter mmirlach

    (@mmirlach)

    Hey, I got the following reply via email but it’s not visible here now?

    “Hello, this is caused by the gallery.
    It explicitly specifies a width and height of 226×151 that optimole respects.

    `<div id=”cboxLoadedContent” style=”width: 226px; overflow: auto; height: 151px;”></div>

    As you can see the container has explicit height and width specified as a result the URL generated by optimole is for those sizes.

    You can check if the gallery allows for those attributes to be changed, if not you can use the exclusion filter from Optimole to exclude from lazy-loading images with the class “cboxPhoto”

    Let us know if any of the steps solve the issue for you.

    Thank you!”

    I’ve excluded “cboxPhoto” (“Don’t lazyload images if Image tag contains class cboxPhoto”) but I’m afraid it does not solve the issue ??

    Hello,

    Can you contact us directly via https://optimole.com/#contact so I can send you our support plugin?

    Thank you!

    Thread Starter mmirlach

    (@mmirlach)

    Done!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Issue with Optimole and Advanced Gutenberg’ is closed to new replies.