Support » Plugin: Smush Image Compression and Optimization » Does this work with add_image_size()

  • Resolved designerken


    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • David


    WPMU DEV Support Staff

    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! 🙂


    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.

    Plugin Support Predrag Dubajic WPMU DEV Support


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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Does this work with add_image_size()’ is closed to new replies.