Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1172518

    Hi guys, I have changed the size of little previews for the plugin Recent posts thumbnail.

    I see they are blurring. If I change manually the size from inspect element from 40 to 80 px they look good, but once I have set the size on the quick CSS the thumbnail are totally blurred.

    Page https://www.ninserviziogratuito.co.uk/contratto-casa-regno-unito
    Example of images blurring https://www.screencast.com/t/VTApgHMgn

    The following is the code I used and I also hidden it now.
    /* Change size thumbnail recent posts NO AS IT IS MAKING THE PIC BLURRED
    #rpwwt-recent-posts-widget-with-thumbnails-2 img {
    width: 80px !important;
    height: 80px !important;
    }
    */

    Any way i can fix the blurring?

    thanks,
    Marco

    #1172845

    Hey marcoabis81,

    Well, the thumbs used are 80x80px and so they should look ok, maybe you can set the thumbs size in the widget settings?

    Best regards,
    Victoria

    #1173324

    Hi Victoria,
    i did it but they do not change size.

    I did it manually on the CSS I showed you last time and the 80x80px look blurry.

    Did you check my code? why do they look blurry?

    Marco

    #1173586

    Hi Marco,

    Yes, I looked at your code, it just makes the images displayed at a bigger size, but the images are 80px size and they are already blurred and so the widget needs to use a bigger image size to show ok at 80px or the thumbs at 80px have to be of better quality.

    http://www.wpbeginner.com/wp-tutorials/how-to-increase-or-decrease-wordpress-jpeg-image-compression/
    https://havecamerawilltravel.com/photographer/wordpress-resize-thumbnails/

    Best regards,
    Victoria

    #1173608

    Hi,

    I see what you mean, the point is the WP is generating the thumbnails at 80x80px, that is why I cannot understand why they do not look clear if I use 80x80px size.

    2020-01-14_1756

    Marc

    #1173682

    Hi Marc,

    Well, WordPress compresses the images as said in the first link above. You need to add that code to the fucntions.php and re-upload the images.

    Best regards,
    Victoria

    #1173979

    Hi Victoria,
    The 80x80px has always been there, and the ics were added in the last 1 month.

    So if I upload new picture I will have the same issue.

    #1174864

    Hi marcoabis81,

    I meant the code for WordPress to not compress images and the size of the thumbs can be changed there on the settings page.

    
    add_filter('jpeg_quality', function($arg){return 100;});
    

    Best regards,
    Victoria

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.