New Landing How can we help? Atelier Problem with full-width image resolution since upgrading WordPress 4.4

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #236629
    gdmorrison
    Member
    Post count: 49

    I have a two full width images on my homepage (the sushi plates) that I uploaded at 1920px wide. Since upgrading to WordPress 4.4, scaled down versions of these images are being displayed:

    I want to display: /wp-content/uploads/2015/07/sushi-border-top.png
    But this is being used: /wp-content/uploads/2015/07/sushi-border-top-1280×57.png

    I think this problem is due to WordPress’ new responsive image feature but I would like to force the full resolution image to display as the scaled version is blurred when viewed on high resolution monitors. I have chosen “Full” for the image size in the page builder and this wasn’t a problem before upgrading WordPress.

    #236969
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    WordPress 4.4 included a there long awaited responsive images feature. https://make.wordpress.org/core/2015/11/10/responsive-images-in-wordpress-4-4/.

    You can test this to disable it, please add this to your child theme’s functions.php file:

    
    function sf_disable_srcset( $sources ) {
    return false;
    }
    add_filter( 'wp_calculate_image_srcset', 'sf_disable_srcset' );
    #238097
    gdmorrison
    Member
    Post count: 49

    Yes, that fixed it, thanks.

    #238102
    David Martin – Support
    Moderator
    Post count: 20834

    Great, no problem!

    Thanks,
    David.

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register