• Resolved przemekk

    (@przemekk)


    I have upgraded WordPress to version 4.4.
    After that i noticed worse quality of images in slider. Images are blurry and not sharp. Before update all was OK.
    I was uploaded new images and assigned them to the slider. Same thing, images are blurry and not sharp.
    Resolution of images has nothing to do with that. I’ve tried several possibilities with ranging witdh beetwen 1920 pixels to 2560 pixels.

    Any ideas how fix that?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    WordPress has taken new measure to handle image responsive issue in the update 4.4. which introduces 2 more attributes in the image markup srcset and sizesRead more on this https://make.www.ads-software.com/core/2015/11/10/responsive-images-in-wordpress-4-4/

    added the below snippet in the functions.php (Theme Package >> function.php) File

    // Remove max_srcset_image_width added by priyanshu.
     function remove_max_srcset_image_width( $max_width ) {
         return false;
     }
    add_filter( 'max_srcset_image_width', 'remove_max_srcset_image_width' );

    Then Check Your website

    Thanks.

    Thread Starter przemekk

    (@przemekk)

    This fix don’t work. Images quality is the same and all others pages (without slider) are damaged by oversized area of field below menu bar (page-title-section).

    In my case for this field, I use custom CSS (one and only for this theme):

    .page-title-section { background:none !important; background-color:#000000 !important; }

    which change the image to black color, so there is now big black area under menu and page content below it.

    Hi

    Plz share Your Website URL

    Thanks.

    Thread Starter przemekk

    (@przemekk)

    I must apologise. Your fix work great! Many thanks!

    Previously I put the code in the wrong place (after end of “?>” line, not before). Now it work excellent.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Worse quality of images in slider after upgrading WP’ is closed to new replies.