[wp-trac] [WordPress Trac] #53200: image quality reduction in smaller images

WordPress Trac noreply at wordpress.org
Thu May 13 13:01:43 UTC 2021


#53200: image quality reduction in smaller images
-----------------------------+-----------------------------
 Reporter:  digitalmountain  |      Owner:  (none)
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Media            |    Version:  5.7.2
 Severity:  normal           |   Keywords:  needs-patch
  Focuses:                   |
-----------------------------+-----------------------------
 So what happens is you upload a full size image to wordpress in my case
 project53.co.uk and I am using a goodlayers theme but I have repeated the
 same process on a stoc install on a different site and have the same
 issue.

 On this site for example the easiest one to see it on is the woman and
 look at the cheeks as full size looks ok and has colour and smaller images
 looks toned down and grey and it is wordpress changing the image quality
 with the smaller images.

 this is the details send from our dev guy

 For now - I have removed the thumbnails that the site was trying to use (I
 had set it to 'full', which should have been used, but the theme didn't
 want to co-operate) and then regenerated the thumbnails - pretty much
 forcing the site to use the full-size image.

 It may occur elsewhere in the site - hard to say until I've seen every
 possible variation of an image on the theme - but as long as we repeat the
 same steps to remove the thumbnail size and regenerate, it will be fine.

 You could just remove all regenerated sizes and ensure that sizes are set
 by the container the image is in; that would definitely stop it.

 So if you see another image (or multiple images) having the same problem:

 Inspect that image and see what thumbnail size it is using. (You can
 generally tell by the suffix on the end of the image name, e.g. blahblah-
 800x600.jpg)

 Go into Goodlayers Options > Miscellaneous > Thumbnail sizing Remove the
 thumbnail size that it's using

 Go into Tools > Regenerate Thumbnails
 Ensure that the thumbnail size that you remove is not there
 Click Advanced Options, and check the box which says "Delete unselected
 thumbnails" - this will remove that size from the server and tell
 WordPress it doesn't exist

 If it was me - I'd unregister all of the thumbnails and just limit the
 size of images which are being uploaded - and use that size globally
 throughout the theme (if the size doesn't exist it should fallback to the
 full size image as default).

 That doesn't necessarily have to be the case - but you just don't want 5MB
 images on a page - because then you'll have all the page speed problems to
 deal with!

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53200>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list