WP Smush
[resolved] Does this work with add_image_size() (4 posts)

  1. designerken
    Posted 1 year ago #

    If I am setting custom sizes in my WordPress Function file, will this plug-in also optimize those files that are generated automatically or just the original image being uploaded?


    When uploading, is the original image optimized first? Then then the new image sizes defined with add_image_size() are created based off of the newly optimized image?


    Regarding images that are already uploaded. If I choose "smushit" from the media library table. Will it optimize those images (ex. thumb, featured image, custom sizes) that were automatically generated?


  2. David
    WPMU DEV Support Staff
    Posted 1 year ago #

    Hi there @designerken,

    Greetings and thanks for your questions! The plugin does work with media library images, including thumbnails. Though you'd need to run the smuch process after adding images.

    Would that work for you?

    Also, have you had any trouble with the optimization of thumbnails with this yet?

    It should just work, though I don't think it actually reports thumbnail changes as yet. If you have any trouble with it though, we'll gladly have a look.

    Looking forward to your reply! :)


  3. designerken
    Posted 1 year ago #

    Thanks David for the reply. I have a couple sites I was going to try this on. I'll get back to you if I need anything else.

    Posted 1 year ago #

    You are most welcome here, if we can be of any further assistance please don't hesitate to ask :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Smush
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.