• Resolved Lupe

    (@erskine4730)


    Problem: Trying to find out if Smush can help me resize already uploaded large images? Referred here by Smush sales chat rep, who couldn’t answer this question, and told me to start a new topic.

    Background: Have a 7 year old WP blog that has many photos uploaded, mostly in the 6 to 7 mb range each. Bluehost shared server hosting. Site works, but according to Google Search Console has “no good URLs” for mobile due to slow page speeds, a situation which may have partially to do with all these large original photos. When WP5.3 came along and automatically resized images on upload to maximum 2560 px H or W, I had trouble uploading images to the media library, so disabled this WP5.3 feature using the Disable Big Image Threshold plugin.

    Only recently decided to deactivate the Disable Big Image Threshold plugin. Again tried to upload new images to the media library, and suffered about a 50% failure rate. Contacted Bluehost support. They increased PHP limits, which helped reduce that failure rate substantially. The original 6mb photos (typical 4608 x 3456 px) now upload to the media library downsized to roughly 1mb with max 2560 px H or W. This is a tremendous savings in image size, like 83%!

    So, what I want to do, is free up a ton of the of the server space I’m using by using Smush to resize all the photos already uploaded to the Bluehost Server (and already in use on my blog) down to max 2560 px H or W, while discarding the all original 6mb images already uploaded in the process. This would essentially amount to having had WP5.3’s automatic upload resizing feature activated for the the past 7 years, long before WP5.3 was even released. I also want to either simultaneously, or subsequently, Smush (compress) all of these images for further savings.

    This is an enormous task! Can’t possibly do it manually running photos through an image optimizer one by one, then reloading them to the media library, deleting the original, adding descriptions and captions, and figuring out where to individually reinsert them into their proper positions in one of 570 posts, etc. Would literally take years. So not happening that way! If Smush can do this with a few clicks, it would be like a miracle!

    Attempts Using Smush Free Plugin – According to the free Smush plugin, my blog has nearly 22,000 original images in need of Smushing! When I activate and test run Smush on these already uploaded large images, it only compresses them, and does not automatically resize them to the maximum 2560 px H or W limit. The compression takes the file size down to about 5.7 mb on a 6.0 mb file. Improvement, but only a fraction of what could be accomplished if Smush could also resize the image to max 2560 px H or W in the process.

    The Smush plugin promotional propaganda makes it sound like Smush can optimize image size and compress all in few clicks, even for previously uploaded images. Is this true, though, only for images uploaded to the media library after the advent of WP5.3? I’ve tried reading Smush’s documentation for both the free and Pro versions, going through all the settings on the free version, and don’t see a way to make this happen.

    The Smush sales chat rep told me to use the plugin’s image size settings, but they are already set by default to max 2560 px H or W. Smushing a few sample previously uploaded images only compressed, and did not downsize the files to these limits. Still 4608 x 3456 px. Furthermore, the description of this feature says to use it to permit the use of larger image files, with no mention of using it for downsizing. Already have larger files! 22,000 of them! That’s the problem!

    Back to the problem: Can Smush bulk resize already uploaded large images down to max 2560 px H or W, or only compress them while retaining the same image size? The Smush sales rep had no clue.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @erskine4730

    I hope you’re well today!

    Smush has an option built-in to set the “threshold” of that automatic re-sizing that WordPress does. This is the “Image resizing” option that you already know about.

    If it’s set then any image that you upload to the site from now on (while Smush is enabled with this option) will automatically be resized (maintaining aspect ratio) to maximum of the set size.

    Note though that it still doesn’t change the way WordPress works. You’ll still have original image stored in full, original size and the “-scaled” version (just like WordPress does since 5.3) that’s resized. The only difference is that the “-scaled” one will be now no bigger than size set in Smush.

    It will not affect already existing “-scaled” images and original (full size ) images.

    However, if you do run bulk-smushing fully while keeping “Image resizing” option enabled, then yes – existing “-scaled” images will also be processed and resized to the set dimensions.

    In free version you can also enable additionally the “Compress uploaded images” option in bulk-smushing. With this option if you run bulk-smushing, it will also compress (basic lossless compression) original – full size – images.

    Kind regards,
    Adam

    Thread Starter Lupe

    (@erskine4730)

    Thank you, Adam!

    Think I understand how Smush works for uploading new images.

    My issue, though, is with all the large images (22,000!) already uploaded to my site that were never “-scaled” prior to WP5.3, or even after that, because I overrode the WP5.3 scaling feature by using the Disable Big Image Threshold plugin, so that only the full, original 6m size image is stored. I understand that Smush can bulk compress these large images. but can it still re-size (-scale) them at this point?

    This is a crucial question, because that’s where the huge storage and speed savings would come in. Could go from 6 mb per image to 1 mb or less, if Smush can do that. With compression only, they only go from 6 mb to 5.7 mb on the few tests I’ve run using the Smush free plugin on individual images. We’re talking savings of more than 80% if the images can be resized, instead of just 15% if only compression is possible.

    “However, if you do run bulk-smushing fully while keeping “Image resizing” option enabled, then yes – existing “-scaled” images will also be processed and resized to the set dimensions.” This statement makes it sound like there is no way Smush can resize my already uploaded large images, because “-scaled” versions were never created at the time I uploaded them. That tells me that at this point Smush can only re-size images uploaded after WP5.3 came along (and in my situation, not even then since I used the Disable Big Image Threshold plugin that prevented scaling), or images uploaded using Smush resizing in the first place. If this is true, then Smush cannot solve my main issue without reuploading every single one of these 22,000 6mb images already in my media library.

    Do I understand this correctly? Smush cannot resize these 22,000 existing original 6mb images currently being used on my site? They must all be deleted and then reuploaded to the media library in order to produce “-scaled” versions that Smush can work with? They can be compressed, but not resized?

    A couple of other questions: What do you mean by running “bulk Smushing fully”? Are there different levels of bulk Smushing?

    Thanks for your help, Adam! Sorry to be so dense, but with 22,000 6mb images being used on my site, I obviously don’t know what I’m doing. Smush looked like it might be the solution.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @erskine4730

    I did run a test on my lab site and it won’t generate the -scaled but they still being resized, so if your image is around 5000px and you set Smush to 1200px the new image version will be set to 1200px on Bulk Smush.

    I made a screen record so you can understand how it works: https://freitas-debug.tempurl.host/wp-content/uploads/2022/02/screencast-2022-02-17-12-24-09.mp4

    A couple of other questions: What do you mean by running “bulk Smushing fully”? Are there different levels of bulk Smushing?

    Just the Complete Process of Smush > Bulk Smush, there are no different levels, only the Settings available in Smush > Bulk Smush.

    In short, Smush does resize your big images on Bulk Smush but doesn’t generate -scaled version and will make your original image the new size saving you a good amount of storage.

    Best Regards
    Patrick Freitas

    Thread Starter Lupe

    (@erskine4730)

    Hi, Patrick:

    Thank you for the help. Sounds promising. Guess that I will have to try bulk Smushing a couple of photos.

    Unfortunately, although I’ve watched your screen record video a dozen times, you do so much so fast that I can’t tell what’s going on.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @erskine4730

    In the video, the target is to see the file name,

    You can notice in the First time that I uploaded the image the -scaled because it was generated by WordPress using the Image size from Smush interface but the second time I first uploaded then enabled the resize feature, it still resizes but without the “scaled” version.

    Best Regards
    Patrick Freitas

    Thread Starter Lupe

    (@erskine4730)

    Hello, again Patrick:

    How do I select the images that I want to Bulk Smush? Want to test Bulk Smushing a couple of images at a time to see if it is really resizing the images for me.

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @erskine4730

    You will be able to manually Smush in WordPress > Media Library

    https://monosnap.com/file/5PV0WLQ0Bc9NH5pTVqjLa3oRC1SHz5

    Best Regards
    Patrick Freitas

    Plugin Support Nithin – WPMU DEV Support

    (@wpmudevsupport11)

    Hi @erskine4730,

    Since we haven’t heard from you for a while. I’ll mark this thread as resolved for now. Please feel free to re-open the thread if you need further assistance.

    Best Regards
    Nithin

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Can Smush Resize Already Uploaded Large Images?’ is closed to new replies.