• Resolved programmin

    (@programmin)


    I noted an issue on Optimole optimization within the Gutenberg Image block with a width and height set on the image block… the image was pixellated, and when I set it to exclude the optimization within Optimole settings, the img tag has no srcset. Now with Optimole enabled they are like:

    <figure class="wp-block-image size-full"><a href="https://..."><img decoding="async" width="344" height="110" src="https://....jpg" alt="" class="wp-image-64683"></a><figcaption class="wp-element-caption" style="cursor: pointer;">caption</figcaption></figure>

    With Optimole enabled – even though I have it set to exclude, I am seeing no WordPress-generated srcset/sizes as before:

    <figure class="wp-block-image size-full is-resized"><a href="https://...."><img decoding="async" loading="lazy" src="https://....jpg" alt="" class="wp-image-64680" width="716" height="225" srcset="..." sizes="(max-width: 716px) 100vw, 716px"></a></figure>
Viewing 1 replies (of 1 total)
  • Plugin Author optimole

    (@optimole)

    Hi there,

    You’re correct, and I appreciate your observation. Optimole is designed to automatically handle the sizing of images to ensure they are delivered in an optimal format and size for every user and device. This is why the “srcset” attribute is disabled, as Optimole’s technology autonomously determines and delivers the most appropriate image size, rendering the “srcset” attribute unnecessary.

    We are sorry to hear that you encountered a pixellated image issue. We take this feedback seriously and are keen to investigate and resolve the matter. Could you please provide additional details or examples? This will enable our technical team to look into the specific issue and make any necessary adjustments to enhance your experience with Optimole.

    Looking forward to your response, and thank you for choosing Optimole.

Viewing 1 replies (of 1 total)
  • The topic ‘Optimole breaks srcset/sizes’ is closed to new replies.