WP Offload S3 and WP Smush in Multisite

I have WP Offload S3 and WP Smush in Multisite.
It seems that the images I upload are not being smushed before sent do S3 with WP Offload S3.
Is there a way I can change the order on this, so the image gets smushed then uploaded?

Rgds,
Victor

  • James Morris

    Hello Victor,

    I hope you are well today.

    Since Smush Pro works with the Media Library uploader, all images uploaded *should* be smushed prior to S3 accessing them. However, bulk smushing will not work because Smush can only modify files stored locally on the server.

    When you upload a large test file, when you go to check the file, do you see Smush Stats? If so, then Smush is working. If not, there may be a conflict causing problems with Smush working with the Media Library uploader.

    There's a couple troubleshooting steps I'd like you to try to see if we can narrow down the cause of this problem.

    First, could you please run a plugin conflict test as outlined in the following article? This will eliminate the possibility of a conflict with another plugin. https://premium.wpmudev.org/manuals/using-wpmu-dev/getting-support/

    If that does not lead to a solution, could you please enable WP_DEBUG and provide us with the output of your debug.log file?

    To enable WP_DEBUG, change the following line in your wp-config.php file:

    define('WP_DEBUG', false);

    To this:

    // Enable WP_DEBUG mode
    define( 'WP_DEBUG', true );
    
    // Enable Debug logging to the /wp-content/debug.log file
    define( 'WP_DEBUG_LOG', true );
    
    // Disable display of errors and warnings
    define( 'WP_DEBUG_DISPLAY', false );
    @ini_set( 'display_errors', 0 );

    After you've visited the pages that are causing you problems, please go to wp-content/ on your server via FTP and download the debug.log file to your local computer. Then, open that file with a text editor like notepad (Windows), GEdit (Linux), or TextEdit (Mac). You can then paste the contents of that file at http://pastebin.com/ and share the URL of the pasted output with us so we can examine it further.

    I look forward to seeing the results of your tests.

    Best regards,

    James Morris