Prevent WordPress from Scaling Large Images

8 Comments

  1. doesntMatter

    Hi,
    this doesn’t work anymore. Neither the snippet for removing the threshold nor the one to adjust it do anything.

    1. I haven’t heard that this filter hook has been deprecated. What is the basis of your theory?

  2. Jay

    It works! Thank you so much!

    1. Okay great to hear Jay, thanks for chiming in! A previous commenter stated that it no longer works, and I had yet to test. Cheers.

  3. I just tried this and it works. I now have a lot of images to upload and attach to portfolios. Thank you very much!

    1. Awesome, glad to hear it works Carole!

  4. Hi! This may solve a problem I’m having with image resolution, but what will it do for page load times? I have a client whose using large images of gardens (he’s a garden designer). He sends me HUGE images. I reduce pixel size, then compress, and the image looks good…until it gets into the slider. Even then, some are better than others. I’m on a staging site at the moment, link included. Thanks, Bryan! Best wishes, Valerie

    1. Hi Valerie,
      Disabling the WP scaling feature and posting larger images will certainly have a negative affect on load time. If you’re struggling with image optimization I wouldn’t use this filter to solve that issue.

      I checked the link you posted but couldn’t see the sliders. If you want me to take a closer look, jump on a chat during our business hours (8-6 Mountain time) and I should be able to give you some guidance.

Leave a Reply

Your email address will not be published. Required fields are marked *