1. fwolf

    So .. this “improvement” is only based on the dimensions of an image, not its actual size (eg. JPEG quality)?

    Then its no real help at all. If it was actually about FILE SIZE detection, now THAT would be an actual improvement, and we’d all be instantly happy campers 😉

    cu, w0lf.


    • Joseph Dickson

      This is a move in the right direction.

      The only I have a high limit is is to accommodate videos and large PDFs.

      I’d love it if we could be more granular on max file sizes based on file type.


      • Shane Bishop

        The new feature is based on the dimensions of the uploaded image, not the file size, so videos and PDFs are unaffected.

        Of course, if someone DID need to be more granular for other image types, it’s filterable (big_image_size_threshold), so the feature is infinitely configurable.

        Naturally, reducing the dimensions of an image also tends to reduce the filesize (sometimes drastically), which is a big improvement, regardless of what the wolf thinks 😉


    • William Bay

      This has more to do with the fact that the img srcset in WordPress feature was limited to a max image size of 1600px, so for Retina and hi resolution screens, often times the browser would automatically pull the unoptimized Original image if it needed something with higher resolution. And since most themes don’t create anything larger than the “Large” size which is 1024 (I think), huge Original images were loaded instead.

      Implementing this fix means that there are additional thumbnails at larger sizes that can be pulled by the browser, and NOT include the Original.

      Believe me, as a photographer, and a developer that works primarily with photographers, this is a feature I realized was necessary shortly after 4.4 came out. If you look in TRAC, I was raising this concern 2+ years ago.

      This is a much needed fix, and I appreciate that Morten, and the Media team are getting this incorporated.


    • Arby

      Image compression is subjective and varies image to image. A photographer might want high quality (large file size) images, while another web dev might want the smallest filesize possible and not care about jpg artifacts. This is best left to the plugins.

      Max image size dimensions though is important as more and more “casual” webmasters use smartphones and upload photos directly without editing.


  2. Nigel Rodgers

    Lossless compression as an admin setting in core might also be helpful.


  3. Sophea

    Good one, but I’m still looking for the option in the editor to have nofollow attribute for the link. Already asked but got a negative response.

    Right now I need to manually install another plugin to do the job.


  4. Doug

    While this has nothing to do with size….how about an option to limit the # of images/sizes that are created? I’ve run into plugins and or themes that create their own sizes, and a lot of them don’t show up in the media library area. Then every time an image is uploaded, 10 different sizes are created and in many cases a set of duplicates of the same size.


    • fwolf

      So far, my personal “fix”, or more like workaround, for this issue, has been to use one of the few available plugins that generate the resp. image sizes “on the fly”, ie. on-demand, when the image is actually called. The obvious disadvantage of that method of corpse is: The user will not instantly get the image shown, it has to be processed first.

      Maybe a mix of both would be more efficent – ie. generate only selected image sizes, eg. thumbnail / medium for previews, and then, when the on-demand call comes, the plugin uses this already existing thumbnail or medium image as a placeholder, until it is done processing the actually requested image size. Something kind of an adaptive image site aproach – although IDK how well this is going to work together with the picture element or the srcset attribute.

      cu, w0lf.


  5. Lefteris

    So what happens when you upload an image with dimensions or weight above the limits in the policy.xml in ImageMagick?

    And you don’t get any notification.


  6. Niall Flynn

    Anyone else having issues with this, functions, plugins nothing removes this for me. Seriously slowing down work flow, so not needed.


  7. Eric Greenfield

    The filter to change or disable the image threshold is not working for me or most people I know who have tried to use it… any word on if this will be fixed?


Comments are closed.

%d bloggers like this: