• Resolved Tanner

    (@tannerchung)


    I’m testing out ShortPixel and reSmush.it when uploading images in the Media interface. It turns out that if you upload anything from that interface, ShortPixel isn’t able to compress the image before upload but reSmush.it indicates that it does: https://cl.ly/c02707677a43

    I’m not sure what that implies in terms of what filters or hooks they are using but I wanted to point this out in case there is something that Media Cloud can do to abstract the cloud uploading further.

    Also the two compression plugins aren’t able to detect the images, it seems that the location information provided by Media Cloud doesn’t get saved to the right WordPress table entry? https://cl.ly/db6c29a82344

Viewing 2 replies - 16 through 17 (of 17 total)
  • Hi @interfacelab
    I’m using PHP 7.2.11.

    If need any other info or test, just ask!

    Thread Starter Tanner

    (@tannerchung)

    Whoah did not know you could embed a Reddit post.

    The head of tech from Shortpixel wrote back:

    If they are handling the file on wp_handle_upload then it happens before the event that ShortPixel hooks onto – wp_generate_attachment_metadata action which fires after the thumbnails were generated (needed for optimization). So no matter the priority, ShortPixel will fire after Media Cloud… What I wonder is how the Media Cloud is moving the thumbnails if it fires on wp_handle_upload

    • This reply was modified 6 years, 3 months ago by Tanner.
Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Compression plugins unable to compress before ilab uploads’ is closed to new replies.