• Resolved Masoud d

    (@themefour)


    Hello. Unfortunately, WordPress still does not support this format. WordPress media does not display webp images.

    I have made many requests. But WordPress executives are reluctant to support this.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hi @themefour,

    Thank you for your message.

    Tell me please, did you read the plugin FAQ before writing here? Please remember to check the FAQ and other threads in the support section before adding a support topic.

    In the FAQ you have at least information about what I need to help you. With little information I can’t help you.

    Very often there are answers there. You save your time and our time. We will be very grateful if you appreciate us time and try to find a solution. If you can nott find anything then we will be happy to help you.

    Thread Starter Masoud d

    (@themefour)

    thumbnail webp images in media library not show!

    i use this code, but not work!

    //** * Enable preview / thumbnail for webp image files.*/
    function webp_is_displayable($result, $path) {
        if ($result === false) {
            $displayable_image_types = array( IMAGETYPE_WEBP );
            $info = @getimagesize( $path );
    
            if (empty($info)) {
                $result = false;
            } elseif (!in_array($info[2], $displayable_image_types)) {
                $result = false;
            } else {
                $result = true;
            }
        }
    
        return $result;
    }

    WordPress does not want to support this format at all, like any other image such as PNG format 🙁

    I’ve talked a lot with WordPress executives, but they disagree to support it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress not support!’ is closed to new replies.