Uploaded files do not convert to WebP
-
I upload JPGs with the plugin enabled and WebP upload enabled, but they still appear as JPGs. PNG same thing.
-
@rjrjrjrj Hi there, thanks for getting in touch!
Can you confirm that your server supports WebP? The best way to tell is by going to Tools > Site Health > Status. If you see a recommended improvement that says “Your site does not support WebP,” the WebP generation for new JPEG uploads will not work.
If you do not see that message or you see a message that says “Your site supports WebP” under Passed Tests, there may be something else going on. Can you please share your Site Health information here?
Your site supports WebP Performance
The WebP image format produces images that are usually smaller in size than JPEG images, which can reduce page load time and consume less bandwidth.
@rjrjrjrj Thank you! Can you please copy and paste your full Site Heath information in a reply on this topic? The instructions are in this screenshot.
### wp-core ### version: 6.0.1 site_language: en_US user_language: en_US timezone: +00:00 permalink: /%year%/%monthnum%/%day%/%postname%/ https_status: true multisite: false user_registration: 1 blog_public: 1 default_comment_status: open environment_type: production user_count: 1 dotorg_communication: true ### wp-paths-sizes ### wordpress_path: c:\www\site wordpress_size: 90.77 MB (95180583 bytes) uploads_path: c:\www\site/wp-content/uploads uploads_size: 16.60 MB (17411579 bytes) themes_path: c:\www\site/wp-content/themes themes_size: 27.22 MB (28546519 bytes) plugins_path: c:\www\site/wp-content/plugins plugins_size: 118.08 MB (123814549 bytes) database_size: 11.42 MB (11976704 bytes) total_size: 264.10 MB (276929934 bytes) ### wp-dropins (1) ### advanced-cache.php: true ### wp-active-theme ### name: Astra (astra) version: 3.9.1 author: Brainstorm Force author_website: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme parent_theme: none theme_features: core-block-patterns, astra_hooks, widgets-block-editor, align-wide, automatic-feed-links, title-tag, post-thumbnails, html5, post-formats, custom-logo, customize-selective-refresh-widgets, editor-style, woocommerce, rank-math-breadcrumbs, amp, infinite-scroll, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets, menus theme_path: c:\www\site/wp-content/themes/astra ### wp-themes-inactive (1) ### Twenty Twenty-One: version: 1.0, author: the WordPress team (latest version: 1.6) ### wp-plugins-active (17) ### Autoptimize: version: 3.1.0, author: Frank Goossens (futtta) Disable XML-RPC-API: version: 2.1.3, author: Neatma Easy WP Meta Description: version: 1.2.5, author: Mats Westholm Enable Media Replace: version: 3.6.3, author: ShortPixel Jetpack: version: 11.1.2, author: Automattic Menu Icons: version: 0.12.12, author: ThemeIsle Performance Lab: version: 1.3.0, author: WordPress Performance Group Really Simple SSL: version: 5.3.2, author: Really Simple Plugins TranslatePress - Multilingual: version: 2.3.3, author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban Virtual Robots.txt: version: 1.10, author: Marios Alexandrou WooCommerce: version: 5.6.0, author: Automattic (latest version: 6.7.0) WooCommerce Payments: version: 4.2.1, author: Automattic (latest version: 4.5.0) WP Extra File Types: version: 0.5.2, author: Davide Airaghi WPForms Lite: version: 1.7.5.3, author: WPForms (latest version: 1.7.5.5) WP Mail SMTP: version: 3.5.1, author: WPForms WPS Hide Login: version: 1.9.6, author: WPServeur, NicolasKulka, wpformation WP Super Cache: version: 1.7.9, author: Automattic ### wp-plugins-inactive (2) ### Query Monitor: version: 3.9.0, author: John Blackbourn WooCommerce Shipping & Tax: version: 1.26.2, author: WooCommerce ### wp-media ### image_editor: WP_Image_Editor_GD imagick_module_version: Not available imagemagick_version: Not available imagick_version: Not available file_uploads: File uploads is turned off post_max_size: 310M upload_max_filesize: 200M max_effective_size: 200 MB max_file_uploads: 8 gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, XPM ghostscript_version: not available ### wp-server ### server_architecture: Windows NT 6.1 AMD64 httpd_software: Apache php_version: 7.0.6 64bit php_sapi: cgi-fcgi max_input_variables: 1000 time_limit: 30 memory_limit: 128M admin_memory_limit: 256M max_input_time: 60 upload_max_filesize: 200M php_post_max_size: 310M curl_version: 7.47.1 OpenSSL/1.0.2g suhosin: false imagick_availability: false pretty_permalinks: true htaccess_extra_rules: true ### wp-database ### extension: mysqli server_version: 5.5.8 client_version: mysqlnd 5.0.12-dev - 20150407 - $Id: zzzzzzzzzzzzzzzzzzzzzzzzzzzz $ max_allowed_packet: 1048576 max_connections: 128 ### wp-constants ### WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: c:\www\site/wp-content WP_PLUGIN_DIR: c:\www\site/wp-content/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: true WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined ### wp-filesystem ### wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable ### jetpack ### site_id: 209170460 ssl_cert: No time_diff: 22 version_option: 11.1.2:1659058566 old_version: 11.1.2:1659058566 public: Public master_user: #1 admin current_user: #1 admin tokens_set: Blog User blog_token: zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz user_token: ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ version: 11.1.2 jp_plugin_dir: c:\www\site\wp-content\plugins\jetpack/ plan: free protect_header: {"trusted_header":"REMOTE_ADDR","segments":1,"reverse":false} full_sync: {"started":"Fri, 29 Jul 2022 01:51:11 +0000","finished":"Fri, 29 Jul 2022 01:51:24 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"1","sent":1,"finished":true,"last_sent":"1"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[1],"network_options":true}} sync_size: undefined sync_lag: 0 seconds full_sync_size: 4 full_sync_lag: 16 hours, 48 minutes, 49 seconds idc_urls: {"home":"https:\/\/www.site.com","siteurl":"https:\/\/www.site.com","WP_HOME":"","WP_SITEURL":""} idc_error_option: false idc_optin: true cxn_tests: {"9":{"name":"test__wpcom_connection_test","label":false,"short_description":"Site is not connected.: 200","long_description":"<p>A healthy connection ensures Jetpack essential services are provided to your WordPress site, such as Stats and Site Security.<\/p><p><span class=\"dashicons fail\"><span class=\"screen-reader-text\">Error<\/span><\/span> Site is not connected.: 200<\/p><p><strong>We recommend reconnecting Jetpack.<\/strong><\/p>","severity":"critical","action":"https:\/\/www.site.com\/wp-admin\/admin.php?page=jetpack#\/reconnect","action_label":"Reconnect Jetpack now","show_in_site_health":true,"pass":false,"group":["default"],"type":"direct"}} ### wp_mail_smtp ### version: 3.5.1 license_key_type: lite debug: No debug notices found. lite_install_date: Jul 28, 2022 @ 12:12pm ### wpforms ### version: 1.7.5.3 lite: Jul 28, 2022 @ 11:53am upload_dir: Writable db_tables: wp_nw_wpforms_tasks_meta total_forms: 1 total_submissions: 1
@rjrjrjrj Thanks for sharing! Based on your settings, WebP is supported and should be working. Can you please try the following steps and let me know what happens?
- Make a new post.
- Add a new JPEG file to your media library.
- Insert the image into your post’s content.
- Make your post visible to the public.
- Go to the post URL and inspect to view the post markup and verify if a WebP file is being used for the image.
If you’re still not seeing a WebP image, it’s likely that there’s a conflict somewhere between the Performance Lab plugin and either your theme or another plugin. To test this, you can install the Health Check & Troubleshooting plugin to safely activate only Performance Lab and switch to a default theme. If WebP conversion works in Troubleshooting Mode, it’s likely that there is a conflict, and you can reactivate your plugins and theme one-by-one to try to identify what is conflicting. More details on how to use that plugin are available here.
We cannot afford that effort and will have to pre-convert images to webp instead.
@rjrjrjrj Understood, thanks for the update. I’ll mark this topic as resolved for now, but if you have any other questions, feel free to reply here. Thank you!
In case you are still looking for the answers: I faced the same issue 5 months back while working on my client’s website, which was related to?sublimation printers?and involved a lot of images and image sizes. I found a WordPress plugin that worked wonders for me: “Ewww image optimizer” by Exactly www and “web express” by Bjorn Rosell. Give these a try, and let me know how these worked for you.
-
This reply was modified 1 year, 9 months ago by
williammpenna.
- The topic ‘Uploaded files do not convert to WebP’ is closed to new replies.