Select creat both JPG and Webp stops images being created in webp
-
I’m having the same issue as the person who created a ticket a week back.
When I selected “Generate JPEG files in addition to WebP” it started only doing jpegs. No Webp images were created from that point.
I disabled all my plugins and changed to the standard wordpress 2024 theme, and issue still persists. I deselected the “Generate JPEG files in addition to WebP” option and it went right back to creating webp versions again.
I will wait to hear back, thank you in advance for looking into this.
-
Hi @sugilite, thanks for getting in touch and for sharing the information and your troubleshooting steps so far. Please can you share your?Site Health information?here?which can allow me to check your setup.
Could you also share some of the images you were using once you changed the default settings that were only generating JPEG images?
Please also note that if the WebP Uploads plugin has identified that the WebP version of the uploaded JPEG image would have a larger file size than the original JPEG image, the WebP version is not generated. This could be what is happening here.
Let me know if you have any questions about the above.
Hi Adam, Thank you for the super speedy response! My apologies, I did mean to mention that once I had turned the option off and was uploading webp’s again, I did check the file size, and the webp versions were considerably smaller! Thank you. Please find info as requested below…..
I cannot find any attachment option for the photos sorry, so will provide some links instead….
https://test-site.majestic-quartz.com/wp-content/uploads/2024/04/M2006-1.jpg https://test-site.majestic-quartz.com/wp-content/uploads/2024/04/M2002-.jpg and this is the webp versio of the photo in the previous link https://test-site.majestic-quartz.com/wp-content/uploads/2024/04/M2002-1-1-jpg.webp (jpg = 125 kb’s – webp version = 79 kb (which is awesome! :-D)
` wp-core version: 6.5.2 site_language: en_US user_language: en_US timezone: America/North_Dakota/Beulah permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: undefined environment_type: production user_count: 1538 dotorg_communication: true wp-paths-sizes wordpress_path: /home/mqtest/public_html wordpress_size: 23.04 GB (24735870179 bytes) uploads_path: /home/mqtest/public_html/wp-content/uploads uploads_size: 6.93 GB (7443696431 bytes) themes_path: /home/mqtest/public_html/wp-content/themes themes_size: 75.71 MB (79389488 bytes) plugins_path: /home/mqtest/public_html/wp-content/plugins plugins_size: 315.04 MB (330345521 bytes) database_size: 621.24 MB (651421871 bytes) total_size: 30.96 GB (33240723490 bytes) wp-dropins (4) advanced-cache.php: true db.php: true maintenance.php: true object-cache.php: true wp-active-theme name: Shoptimizer Child Theme (shoptimizer-child-theme) version: 1.2.2 author: CommerceGurus author_website: (undefined) parent_theme: Shoptimizer (shoptimizer) theme_features: core-block-patterns, block-templates, post-thumbnails, automatic-feed-links, custom-logo, menus, html5, site-logo, woocommerce, wc-product-gallery-zoom, wc-product-gallery-lightbox, wc-product-gallery-slider, title-tag, customize-selective-refresh-widgets, align-wide, widgets theme_path: /home/mqtest/public_html/wp-content/themes/shoptimizer-child-theme auto_update: Disabled wp-parent-theme name: Shoptimizer (shoptimizer) version: 2.7.6 author: CommerceGurus author_website: https://www.commercegurus.com/ theme_path: /home/mqtest/public_html/wp-content/themes/shoptimizer auto_update: Disabled wp-themes-inactive (5) Divi: version: 4.24.3, author: Elegant Themes, Auto-updates disabled Divi Child: version: 1.0.0, author: Elegant Themes, Auto-updates disabled Twenty Twenty-Four: version: 1.1, author: the WordPress team, Auto-updates disabled Twenty Twenty-Three: version: 1.4, author: the WordPress team, Auto-updates disabled Twenty Twenty-Two: version: 1.7, author: the WordPress team, Auto-updates disabled wp-plugins-active (43) amr shortcode any widget: version: 4.0, author: anmari, Auto-updates disabled Booster Plus for WooCommerce: version: 7.1.3, author: Pluggabl LLC, Auto-updates disabled CommerceGurus CommerceKit: version: 2.3.0.1, author: CommerceGurus, Auto-updates disabled Custom Product Tabs for WooCommerce: version: 1.8.5, author: Code Parrots, Auto-updates disabled Custom Product Tabs Pro: version: 1.2.4, author: YIKES, Inc., Auto-updates disabled Disable Bloat for WordPress & WooCommerce: version: 3.4.8, author: Disable Bloat, Auto-updates disabled Disable Gutenberg: version: 3.1.1, author: Jeff Starr, Auto-updates disabled Docket Cache: version: 23.08.02, author: Nawawi Jamili, Auto-updates disabled Easy Updates Manager: version: 9.0.17, author: Easy Updates Manager Team, Auto-updates disabled Elementor: version: 3.21.1, author: Elementor.com, Auto-updates disabled Health Check & Troubleshooting: version: 1.7.0, author: The www.ads-software.com community, Auto-updates disabled HTML in Category Descriptions: version: 1.2.4, author: Arno Esterhuizen, Auto-updates disabled Image Placeholders: version: 1.1.0, author: WordPress Performance Team, Auto-updates disabled Kirki Customizer Framework: version: 5.1.0, author: Themeum, Auto-updates disabled Limit Login Attempts Reloaded: version: 2.26.8, author: Limit Login Attempts Reloaded, Auto-updates disabled Login or Logout Menu Item: version: 1.2.3, author: cartpauj, Auto-updates disabled LoginWP (Formerly Peter's Login Redirect): version: 3.0.8.5, author: LoginWP Team, Auto-updates disabled MailPoet: version: 4.48.2, author: MailPoet, Auto-updates disabled Media Library Folders: version: 8.2.1, author: Max Foundry, Auto-updates disabled Media Library Folders Reset: version: 8.2.1, author: Max Foundry, Auto-updates disabled Modern Image Formats: version: 1.1.0, author: WordPress Performance Team, Auto-updates disabled Nav Menu Roles: version: 2.1.2, author: Kathy Darling, Auto-updates disabled Performance Lab: version: 3.0.0, author: WordPress Performance Team, Auto-updates disabled Query Monitor: version: 3.15.0, author: John Blackbourn, Auto-updates disabled Really Simple SSL: version: 8.0.0, author: Really Simple Plugins, Auto-updates disabled Real Testimonials Pro: version: 3.0.0, author: ShapedPlugin, Auto-updates disabled Redirection: version: 5.4.2, author: John Godley, Auto-updates disabled Smart Custom 404 error page [404page]: version: 11.4.6, author: Peter Raschendorfer, Auto-updates disabled ThumbPress: version: 4.3.1, author: Codexpert, Inc, Auto-updates disabled UpdraftPlus - Backup/Restore: version: 2.24.2.26, author: UpdraftPlus.Com, DavidAnderson, Auto-updates disabled WC Restore the Purchased Items Column in Orders Page: version: 1.3, author: Rynaldo Stoltz, Auto-updates disabled Windcave Gateway for WooCommerce: version: 1.1.9, author: Windcave, Auto-updates disabled Wish List for WooCommerce Pro: version: 2.1.5, author: WPFactory, Auto-updates disabled WooCommerce: version: 8.8.2, author: Automattic, Auto-updates disabled WooCommerce Admin Bar Addition: version: 2.7.0, author: David Decker - DECKERWEB, Auto-updates disabled WooCommerce Colors: version: 1.0.7, author: WooThemes, Auto-updates disabled WooCommerce Legacy REST API: version: 1.0.1, author: WooCommerce, Auto-updates disabled WooCommerce Products Slider: version: 2.2.31, author: PickPlugins, Auto-updates disabled WP Mail SMTP Pro: version: 4.0.2, author: WP Mail SMTP, Auto-updates disabled WP Rocket: version: 3.15.10, author: WP Media, Auto-updates disabled WP Rocket | Custom Sitemap Preload Intervals: author: WP Rocket Support Team, version: (undefined), Auto-updates disabled YITH Infinite Scrolling: version: 1.21.0, author: YITH, Auto-updates disabled Yoast SEO: version: 22.5, author: Team Yoast, Auto-updates disabled wp-plugins-inactive (21) Add-on Contact Form 7 - Mailpoet 3: version: 1.3.20, author: Tikweb, Auto-updates disabled Advanced Editor Tools: version: 5.9.2, author: Automattic, Auto-updates disabled Asset CleanUp: Page Speed Booster: version: 1.3.9.3, author: Gabe Livan, Auto-updates disabled CategoryTinymce 5: version: 5.3.2, author: Kevin Heath, Auto-updates disabled Classic Widgets: version: 0.3, author: WordPress Contributors, Auto-updates disabled Contact Form 7: version: 5.9.3, author: Takayuki Miyoshi, Auto-updates disabled Fast Secure reCAPTCHA: version: 1.0.20, author: fastsecure, Auto-updates disabled FiboSearch - AJAX Search for WooCommerce (Pro): version: 1.27.1, author: FiboSearch Team, Auto-updates disabled Kadence WooCommerce Email Designer: version: 1.5.12, author: Kadence WP, Auto-updates disabled Login Designer: version: 1.6.3, author: LoginDesigner, Auto-updates disabled Maintenance: version: 4.08, author: WebFactory Ltd, Auto-updates disabled NinjaScanner: version: 3.2, author: The Ninja Technologies Network, Auto-updates disabled Password Strength Settings for WooCommerce: version: 3.0.1, author: Daniel Santoro, Auto-updates disabled Restore Classic Widgets: version: 3.7, author: Bill Minozzi, Auto-updates disabled Specific Content for Mobile: version: 0.1.9.7, author: Jose Mortellaro, Auto-updates disabled Widget Logic: version: 5.10.4, author: WPChef, Auto-updates disabled WooCommerce PayPal Payments: version: 2.6.1, author: WooCommerce, Auto-updates disabled WooCommerce Simple Storewide Sale: version: 1.1.8, author: wpgenie, Auto-updates disabled Woo Stickers by Webline: version: 1.1.9, author: Weblineindia, Auto-updates disabled WooThumbs for WooCommerce by Iconic: version: 5.6.0, author: Iconic, Auto-updates disabled WP Night Mode: version: 1.0.6, author: Marko Arula, Auto-updates disabled wp-media image_editor: WP_Image_Editor_Imagick imagick_module_version: 1690 imagemagick_version: ImageMagick 6.9.10-68 Q16 x86_64 2024-01-12 https://imagemagick.org imagick_version: 3.7.0 file_uploads: 1 post_max_size: 256M upload_max_filesize: 256M max_effective_size: 256 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 30 GB imagick::RESOURCETYPE_DISK: 9.2233720368548E+18 imagick::RESOURCETYPE_FILE: 12288 imagick::RESOURCETYPE_MAP: 30 GB imagick::RESOURCETYPE_MEMORY: 15 GB imagick::RESOURCETYPE_THREAD: 1 imagick::RESOURCETYPE_TIME: 9.2233720368548E+18 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM ghostscript_version: 9.25 wp-server server_architecture: Linux 3.10.0-1160.114.2.el7.x86_64 x86_64 httpd_software: Apache php_version: 8.1.28 64bit php_sapi: cgi-fcgi max_input_variables: 5000 time_limit: 90 memory_limit: 1024M max_input_time: 60 upload_max_filesize: 256M php_post_max_size: 256M curl_version: 8.7.1 OpenSSL/1.1.1w suhosin: false imagick_availability: true pretty_permalinks: true htaccess_extra_rules: true current: 2024-04-22T08:54:30+00:00 utc-time: Monday, 22-Apr-24 08:54:30 UTC server-time: 2024-04-22T03:54:23-05:00 wp-database extension: mysqli server_version: 10.6.17-MariaDB-log client_version: mysqlnd 8.1.28 max_allowed_packet: 268435456 max_connections: 400 wp-constants WP_HOME: undefined WP_SITEURL: undefined WP_CONTENT_DIR: /home/mqtest/public_html/wp-content WP_PLUGIN_DIR: /home/mqtest/public_html/wp-content/plugins WP_MEMORY_LIMIT: 1024M WP_MAX_MEMORY_LIMIT: 1024M WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: true SCRIPT_DEBUG: false WP_CACHE: true CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Undefined WP_DEVELOPMENT_MODE: undefined DB_CHARSET: utf8mb4 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable wp_mail_smtp version: 4.0.2 license_key_type: pro debug: No debug notices found. pro_install_date: Jun 14, 2021 @ 1:02am email_log_entries: 11196
@sugilite Thanks for sharing the information. When you have this setting on and you upload your JPEG image, a WebP image will be created if it is identified to be a smaller file size. However, you won’t see the WebP image in your site media library. You can check for it and should be able to see both JPEG and WebP from an FTP program or from your hosting CP file manager so you could check here.
Could I please ask you to share a recording of you uploading the image with the setting switched on. Could you also add that uploaded image to a post and share the post URL here for us to check?
You can use a service such as Loom to capture the recording and share the URL here.
Hi Adam, Thank you again for the incredible speed of your replies! OK, I checked with ftp (I should of done that prior – doh) and yes, they are there – kind of. For every image I upload, I have 3 additional sizes that get created, (120px, 260px and 510px,) With create jpg’s ticked, for some reason it only produces a 260px and original size in webp and the rest are jpeg. When I select just webp, all the size varients appear in webp. I compared the sizes of the missing webp versions (120px and 510px) and they are both smaller than their jpeg cousins. So the reason the 2 webp versions were not generated was not that they would of been larger than the jpeg versions.
The other issue is one is not offered the ability to attach photos to a woocommerce product from a url field. Woocommerce only allows images to be attached via the media library. So it would appear my choice is to either use webp exclusively and exclude customers with older browsers to seeing the images, or to use jpg exclusively and take the additional file size loading hit.
I’m assuming there is no way to either show both jpeg and webp variants in the media library? Or better still, have the ability to show both, or just the one type of variant in the media library? The latter would avoid the confusion of seeing seemingly identical images in the media library without knowing a given images “flavor” without clicking on it to read it’s details. I can upload as many as 12 images per product in woocommerce, and as each product is a one off, many get added every week.
Thank you again Adam for your stellar support!
@sugilite You are most welcome! If the WooCommerce field for adding a product photo requires an image URL then you should still be able to use the WebP image URL here and that should work.
As you mentioned above you can also disable the option to generate a JPEG version within the plugin settings, so it’s WebP versions of images that are shown in the media library.?
Currently there is no way to display both a WebP and JPEG image in the media library. If you wish to submit feedback or suggestions for the plugin you can?submit them as an issue in the WordPress Performance Team’s GitHub repository.
Is there anything else I can help with at all?
- The topic ‘Select creat both JPG and Webp stops images being created in webp’ is closed to new replies.