Non.supported FileType: image/webp
-
When I click on bulk generate, I get the error: Non-supported FileType: image/webp
The webp module is installed…
-
Hi Giulio,
Do you have just webp images uploaded? Meaning, they don’t have a jpg original, it’s just the WebP version? Which version of WordPress are you using? Can you share the system info from the support tab of the plugin settings? You can post it via pastebin.com and share it here. Or if you would rather, you can contact us directly: https://ewww.io/contact-us/
Hi Adamewww,
yes i is webp only, no jpg.
Here is the system info:
checking active plugins ewww_image_optimizer_admin_init() EIO_Base::content_url() upload_url: https://www.domain.com/wp-content/uploads/ EIO_Base::__construct() plugin (resource) content_url: https://www.domain.com/wp-content/ewww/ plugin (resource) content_dir: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/ home url: https://www.domain.com/ relative home url: //www.domain.com/ home domain: www.domain.com site/upload url: https://www.domain.com site/upload domain: www.domain.com ewww_image_optimizer_cloud_init() ewww_image_optimizer_upgrade() ewww_image_optimizer_exec_init() ewww_image_optimizer_cron_setup() EWWWIO_Tracking::schedule_send() ewww_image_optimizer_tool_init() ewww_image_optimizer_install_tools() Checking/Installing tools in /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/ wp-content/ewww permissions: 0755 ewww_image_optimizer_install_paths() CPU architecture: x86_64 generated paths: /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-linux /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/binaries/optipng-linux /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-linux /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-linux /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-linux /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp ewww_image_optimizer_skip_tools() enabled: jpegtran enabled: optipng enabled: gifsicle enabled: pngquant enabled: webp enabled: svgcleaner Linux/UNIX style OS, checking permissions ewww_image_optimizer_check_permissions() permissions for /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran: 0755 permissions ok ewww_image_optimizer_check_permissions() permissions for /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle: 0755 permissions ok ewww_image_optimizer_check_permissions() permissions for /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng: 0755 permissions ok ewww_image_optimizer_check_permissions() permissions for /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant: 0755 permissions ok ewww_image_optimizer_check_permissions() permissions for /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp: 0755 permissions ok ewww_image_optimizer_load_editor() ewww_image_optimizer_sharpen_filters() loading image editors: EWWWIO_Imagick_Editor EWWWIO_GD_Editor WP_Image_Editor_Imagick WP_Image_Editor_GD ewww_image_optimizer_bulk_script() ewww_image_optimizer_tool_script() ewww_image_optimizer_webp_script() ewww_image_optimizer_settings_script() EIO_Base::content_url() upload_url: https://www.domain.com/wp-content/uploads/ EIO_Base::__construct() plugin (resource) content_url: https://www.domain.com/wp-content/ewww/ plugin (resource) content_dir: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/ home url: https://www.domain.com/ relative home url: //www.domain.com/ home domain: www.domain.com site/upload url: https://www.domain.com site/upload domain: www.domain.com EIO_Base::content_url() ewww_image_optimizer_easy_site_registered() ewww_image_optimizer_notice_utils() ewww_image_optimizer_exec_check() ewww_image_optimizer_skip_tools() enabled: jpegtran enabled: optipng enabled: gifsicle enabled: pngquant enabled: webp enabled: svgcleaner ewww_image_optimizer_path_check() ewww_image_optimizer_find_nix_binary() found /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran, testing... ewww_image_optimizer_md5check() /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran: c0a44f6f16ddc78d8d027ffd3e09c512d637876833c5ffaaf5b1e7acd5ce3cda checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran 7f454c46 ewwwio type: application/x-executable ewww_image_optimizer_tool_found() testing case: j at /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran: Independent JPEG Group's JPEGTRAN, version 9d 12-Jan-2020 optimizer found defining EWWW_IMAGE_OPTIMIZER_JPEGTRAN ewww_image_optimizer_find_nix_binary() found /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng, testing... ewww_image_optimizer_md5check() /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng: 4404076a4f9119d4dfbb7acb00eb65345e804186a019c7136d8f8e87fb0cb997 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng 7f454c46 ewwwio type: application/x-executable ewww_image_optimizer_tool_found() testing case: o at /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng: OptiPNG version 0.7.7 optimizer found defining EWWW_IMAGE_OPTIMIZER_OPTIPNG ewww_image_optimizer_find_nix_binary() found /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle, testing... ewww_image_optimizer_md5check() /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle: 205abe804d1060375f713d990c45b0285cbc4b56226da1612e9f1d2d2e2c5369 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle 7f454c46 ewwwio type: application/x-executable ewww_image_optimizer_tool_found() testing case: g at /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle: LCDF Gifsicle 1.93 optimizer found defining EWWW_IMAGE_OPTIMIZER_GIFSICLE ewww_image_optimizer_find_nix_binary() found /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant, testing... ewww_image_optimizer_md5check() /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant: d4521b01d134351d9d398ab1086406cfc8f706fc300e88d1a4b9b914a33d9229 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant 7f454c46 ewwwio type: application/x-executable ewww_image_optimizer_tool_found() testing case: q at /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant: 2.17.0 (September 2021) optimizer found defining EWWW_IMAGE_OPTIMIZER_PNGQUANT ewww_image_optimizer_find_nix_binary() found /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp, testing... ewww_image_optimizer_md5check() /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp: 5fec3397c56b74b8a8ac8c9bac99dc11d40f9528a6c05e4108f1cd65d5a0a4fc checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp 7f454c46 ewwwio type: application/x-executable ewww_image_optimizer_tool_found() testing case: w at /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp: 1.2.0 optimizer found defining EWWW_IMAGE_OPTIMIZER_CWEBP ewww_image_optimizer_find_nix_binary() found /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/svgcleaner, testing... ewww_image_optimizer_md5check() /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/svgcleaner: 15d8b7d54b73059a9a63ab3d5ca8201cd30c2f6fc59fc068f7bd6c85e6a22420 checksum verified, binary is intact ewww_image_optimizer_mimetype() testing mimetype: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/svgcleaner 7f454c46 ewwwio type: application/x-executable ewww_image_optimizer_tool_found() testing case: s at /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/svgcleaner /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/svgcleaner: svgcleaner 0.9.5 optimizer found defining EWWW_IMAGE_OPTIMIZER_SVGCLEANER using: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/jpegtran using: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/optipng using: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/gifsicle using: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/pngquant using: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/cwebp using: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/svgcleaner defining EWWW_IMAGE_OPTIMIZER_PNGOUT ewww_image_optimizer_options() ewww_image_optimizer_savings() savings query avoided via (single-site) cache EWWW IO version: 691 WP version: 6.0.2 PHP version: 80111 libxml version: 20913 core plugin ABSPATH: /var/www/vhosts/domain.com/httpdocs/ WP_CONTENT_DIR: /var/www/vhosts/domain.com/httpdocs/wp-content EWWWIO_CONTENT_DIR: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/ home url (Site URL): https://www.domain.com site url (WordPress URL): https://www.domain.com wp_upload_dir (baseurl): https://www.domain.com/wp-content/uploads wp_upload_dir (basedir): /var/www/vhosts/domain.com/httpdocs/wp-content/uploads content_width: registered stream wrappers: https,ftps,compress.zlib,compress.bzip2,php,file,glob,data,http,ftp,phar,zip using external object cache ewww_image_optimizer_gd_support() GD found, supports: GD Version: bundled (2.1.0 compatible) FreeType Support: 1 FreeType Linkage: with freetype GIF Read Support: 1 GIF Create Support: 1 JPEG Support: 1 PNG Support: 1 WBMP Support: 1 XPM Support: 1 XBM Support: 1 WebP Support: 1 BMP Support: 1 AVIF Support: TGA Read Support: 1 JIS-mapped Japanese Font Support: ewww_image_optimizer_gmagick_support() ewww_image_optimizer_imagick_support() 3FR,3G2,3GP,A,AAI,AI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,YAML,YCbCr,YCbCrA,YUV ewww_image_optimizer_find_nix_binary() ewww_image_optimizer_tool_found() testing case: n at /usr/bin/nice /usr/bin/nice: 0 nice found 221 images have been optimized automatic compression enabled remove metadata: on jpg level: 10 png level: 40 gif level: 10 pdf level: 0 svg level: 10 bulk delay: backup mode: cloudinary upload: off ExactDN enabled: off ExactDN all the things: on ExactDN lossy: 0 ExactDN resize existing: off ExactDN attachment queries: on Easy IO exclusions: add missing dimensions: off lazy load: off ewwwio_other_lazy_detected() WP Rocket with lazy detected LL autoscale: on LQIP: off S(VG)IIP: off external CSS background (all things): LL exclusions: optipng level: 4 pngout disabled: yes pngout level: 0 svgcleaner disabled: no ewww_image_optimizer_jpg_quality() quality: 70 configured quality: 70 ewww_image_optimizer_jpg_quality() quality: 70 effective quality: 70 ewww_image_optimizer_webp_quality() webp quality: 70 effective WebP quality: 70 parallel optimization: on background optimization: on scheduled optimization: off include media library: on include originals: on folders to optimize: folders to ignore: skip images smaller than: 0 bytes skip PNG images larger than: bytes exclude originals from lossy: off exclude originals from metadata removal: off use system binaries: no resize detection: off max media dimensions: 0 x 0 max other dimensions: x resize existing images: on resize existing (non-media) images: on ewww_image_optimizer_get_image_sizes() sizes: thumbnail medium medium_large large 1536x1536 2048x2048 Array ( [thumbnail] => Array ( [width] => 150 [height] => 150 [crop] => 1 ) [medium] => Array ( [width] => 540 [height] => 540 [crop] => ) [medium_large] => Array ( [width] => 768 [height] => 9999 [crop] => ) [large] => Array ( [width] => 1080 [height] => 1080 [crop] => ) [1536x1536] => Array ( [width] => 1536 [height] => 1536 [crop] => ) [2048x2048] => Array ( [width] => 2048 [height] => 2048 [crop] => ) [pdf-full] => Array ( [width] => 99999 [height] => 99999 [crop] => ) ) disabled sizes: thumbnail: optimization=+ creation=+ medium: optimization=+ creation=+ medium_large: optimization=+ creation=+ large: optimization=+ creation=+ 1536x1536: optimization=+ creation=+ 2048x2048: optimization=+ creation=+ pdf-full: optimization=+ creation=+ delete originals: off jpg2png: off png2jpg: off gif2png: off png2jpg fill: ewww_image_optimizer_jpg_background() webp conversion: on js webp rewriting: off picture webp rewriting: off WebP Rewrite exclusions: webp paths: forced webp: off forced gif2webp: on enable help beacon: no origin (SERVER_ADDR): XXYX:XXXX:XXXX:XXXX:XXXX:XXXX EIO_Base::content_url() upload_url: https://www.domain.com/wp-content/uploads/ EIO_Base::__construct() plugin (resource) content_url: https://www.domain.com/wp-content/ewww/ plugin (resource) content_dir: /var/www/vhosts/domain.com/httpdocs/wp-content/ewww/ home url: https://www.domain.com/ relative home url: //www.domain.com/ home domain: www.domain.com site/upload url: https://www.domain.com site/upload domain: www.domain.com checking XXX.XXX.XXX.XXX from gethostbyname not a Cloudflare host: XXX.XXX.XXX.XXX PHP module: fpm-fcgi possibly missing mod_rewrite possibly missing mod_headers ewww_image_optimizer_test_webp_mime_error() webp (real-world) verification succeeded png (real-world) verification succeeded webp .htaccess rewriting enabled max_execution_time: 600 ewww_image_optimizer_stl_check() disable_functions: detected memory limit is: 1073741824
There isn’t any support currently for WebP only files as they are technically an optimization of other file types (JPG, PNG). That having been said, we are currently evaluating ways to improve WebP and possibly re-compress them: https://feedback.ewww.io/p/re-compressing-webp-images
Hi,
Have you got any news regarding the uploading images in webp format?
I also have images in webp format and they are not served on front.
Thank you@listeraro how are you trying to serve the webp files? Apache, Nginx, Nginx as Proxy before Apache? The way how to serve the webp images depends deeply on your environment. In general there are some basics about it here: https://docs.ewww.io/article/119-webp-delivery, but in my oppinion, if you are not on a simple LAMP Stack, you have to try out, what works best for you.
In my case, I mostly upload webp direct as the delivered image format and compress it via the cwebp bash command and use a dedicated NGINX directive to serve webp.
But for my customers, I am using ewww to convert jpg/png (what ever) file to webp and than serve it via same nginx directive.
Have you checked the MIME-Type of the delivered images or tried different browsers?
Some browser are serving the files with a jpg ending while they are encoded as webp.
- The topic ‘Non.supported FileType: image/webp’ is closed to new replies.