Viewing 1 replies (of 1 total)
  • Plugin Support James Osborne

    (@jamesosborne)

    Thanks for reaching out @anto18. PNG to WebP generation isn’t supported by default, although it can be configured via the below:

    function webp( $transforms ) {
    $transforms['image/png'] = array( 'image/png','image/webp');
    return $transforms;
    }
    add_filter( 'webp_uploads_upload_image_mime_transforms', 'webp' );

    In relation to Media Cloud, I haven’t checked this, however, there may be configurations that can impact WebP generation. The other mention in that topic you linked to referred to WP Offload Media. I did perform some checks using WP Offload Media and the Performance Lab plugin, with both Google Cloud and Amazon S3 as the CDN. In my cases WebP’s were generated and hosted from these services (example).

    While I will put some time aside to check Media Cloud, can you please share whether JPEG images are converting to WebP images on your site, as opposed to PNGs? Please check and confirm this with and without using Media Cloud.

Viewing 1 replies (of 1 total)
  • The topic ‘Not working with Media cloud’ is closed to new replies.