-
AuthorPosts
-
January 12, 2020 at 1:40 pm #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/VTApgHMgnThe 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,
MarcoJanuary 13, 2020 at 4:04 pm #1172845Hey 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,
VictoriaJanuary 14, 2020 at 1:59 pm #1173324Hi 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
January 14, 2020 at 7:20 pm #1173586Hi 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,
VictoriaJanuary 14, 2020 at 7:56 pm #1173608January 14, 2020 at 10:13 pm #1173682Hi 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,
VictoriaJanuary 15, 2020 at 1:37 pm #1173979Hi 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.
January 16, 2020 at 11:43 am #1174864Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.