• Resolved ultramania

    (@ultramania)


    Hi, love this plugin but having an issue where when I turn on the plugin it replaces some(not all) with wrong size post thumbnails. When I disable the plugin the issue is gone so it’s definitely caused by the plugin.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ultramania

    (@ultramania)

    Normal thumbnail code should looks like this:
    <img width="364" height="205" src="https://baaam.co/wp-content/uploads/2018/09/rubber-band-mp5-gun-364x205.jpg" class="attachment-bimber-grid-standard size-bimber-grid-standard wp-post-image lazyloaded" alt="" data-src="https://baaam.co/wp-content/uploads/2018/09/rubber-band-mp5-gun-364x205.jpg" data-expand="600">

    Thumbnail with wrong size looks like this:
    <img width="364" height="205" src="https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-364x205.png" class="attachment-bimber-grid-standard size-bimber-grid-standard wp-post-image lazyloaded" alt="" data-src="https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-364x205.png" data-expand="600" data-srcset="https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-364x156.png 364w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-192x192.png 192w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-384x384.png 384w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-728x312.png 728w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-561x325.png 561w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-758x379.png 758w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-83x48.png 83w" data-sizes="(max-width: 364px) 100vw, 364px" sizes="(max-width: 364px) 100vw, 364px" srcset="https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-364x156.png 364w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-192x192.png 192w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-384x384.png 384w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-728x312.png 728w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-561x325.png 561w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-758x379.png 758w, https://baaam.co/wp-content/uploads/2018/09/Screen-Shot-2018-09-06-at-8.57.36-PM-83x48.png 83w">

    Thread Starter ultramania

    (@ultramania)

    Anyone have any thoughts or ideas on how I could solve this problem?

    Plugin Author interfacelab

    (@interfacelab)

    Add something like this to your functions.php:

    
    add_filter('ilab_s3_can_calculate_srcset',function($calcSrcSet){
       return false;
    }, 10000, 1);
    
    Thread Starter ultramania

    (@ultramania)

    Thank you, I tried adding the code but now some of the thumbnails (ones that were wrong size) are blank.

    I really appreciate your help.

    Plugin Author interfacelab

    (@interfacelab)

    This is fixed in the latest. If you are still using the plugin, let me know if it’s solved.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Replaces with incorrect thumbnail’ is closed to new replies.