How can I make sure that WordPress doesn't lose too much quality on uploaded images that are scaled down?

Here are some samples. You can clearly see that an image resized in Photoshop comes out with better quality than the same image resized within WordPress.

  • Original screenshot at 700px width Original screenshot at 700px width

  • Photoshop resized at 600px Photoshop resized at 600px

  • WordPress resized at 600px WordPress resized at 600px

  • 6
    You're comparing Javascript image processing to Photoshop's. That's like comparing a VW Beetle to a Ferrari. They're not even in the same league. You want better, you'll have to replace it.
    – Twifty
    Sep 20, 2013 at 8:51
  • 2
    I question "clearly" seen difference in examples. It might be better to reword this in more generic way - what is quality of resize dependent on in WordPress and how to control/improve it.
    – Rarst
    Sep 20, 2013 at 10:55
  • This question is lacking lots of information. PS has a variety of different save/export plugins built in (plus 3rd party ones) that have a huge amount of settings and differ in their processing and results - and are completely different from version to version. Without all the needed info it's impossible to compare anything. Showing some images doesn't help.
    – kaiser
    Sep 20, 2013 at 11:01
  • The images look exactly the same, on my screen...
    – s_ha_dum
    Sep 20, 2013 at 13:38

1 Answer 1


WordPress does do some compression on images when it resizes them. You can disable this very simply using the following code (or using a plugin like this one):

function wpse_114909_image_quality() {
    return 100;
add_filter( 'jpeg_quality', 'wpse_114909_image_quality' );

I'm sure that GD & Imagemagick are not as good at resampling images as Photoshop is, so this may be a battle you'll never win. All the same, this will certainly help. For any images where the quality matters that much to you, you should manage the images manually instead of letting WordPress resize them.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.