Convert images to WebP
Description
Highlights
About the Extension
Smaller images, faster shop
Convert images to WebP turns every JPG and PNG in your Shopware 6.7 media library into a WebP file, including all thumbnails, and delivers the WebP version automatically in your storefront. Images also get native lazy loading, so pictures further down the page only load when they are needed.
Smaller image files mean less data per page view and shorter loading times. This gives you a better basis for your Google PageSpeed Insights and Lighthouse scores, for Core Web Vitals such as Largest Contentful Paint (LCP) and for your SEO ranking.
WebP conversion for JPG and PNG
WebP is a modern image format with noticeably smaller files at comparable visual quality. The extension uses the WebP files wherever the storefront uses Shopware's standard image template, for example for product images, listings and Shopping Experiences, both in src and in the srcset of every thumbnail size.
- Separate quality settings for images (default 80) and thumbnails (default 60)
- JPG and PNG conversion can be enabled separately; PNG transparency is preserved
- Your original files stay untouched: the WebP files are stored next to them and can be deleted with one click at any time
- As long as no WebP file exists, the original image is delivered, so there are no broken images during conversion
- Optional fallback: browsers without WebP support receive the original JPG or PNG
- Debug mode shows the WebP path the extension looks for on every image
Native lazy loading
- Images get loading="lazy" and only load when they come into view
- Zoom, magnifier, slider and gallery thumbnail images are excluded, so product galleries keep working as expected
- Optional fix for gallery images that are displayed too small
Built for large media libraries
Conversion runs in batches and adapts to your server. Before PHP reaches its memory limit or maximum execution time, the batch stops, and the next run continues exactly where it left off.
- Images are indexed automatically when you open the WebP page for the first time
- Number of images per batch is adjustable (default: 100)
- Optional scheduled task: converts pending images every 5 minutes and, once all are done, checks for new or changed files
- New and changed images are detected by their modification date and queued again
- Problem images, such as extremely large files, can be skipped; source files over 200 MB are logged as errors instead of blocking the queue
- Error log with file, message and date, plus "Retry errors"
- Cleanup removes index entries and WebP files whose source image no longer exists
WebP overview in the Administration
Under Content > WebP you can see the status of every image at a glance:
- Converted, pending and failed images with progress bar, split into media and thumbnails
- Search by path and filter by status
- Convert or reconvert single images; reconverting an image also refreshes its thumbnails
- Estimated remaining time for manual and scheduled conversion
- Status of the scheduled task with current phase, last run and duration
- Maintenance actions: reindex, check updates, retry errors and clean up
CLI commands
Convert large media libraries without a browser, for example via SSH or in deployment scripts:
- bin/console weedesign:images2webp:index – indexes all images
- bin/console weedesign:images2webp:generate – converts all pending images (--batch=N sets the batch size, default 500)
- bin/console weedesign:images2webp:check – finds new and changed images
- bin/console weedesign:images2webp:status – shows totals, pending images, errors and the split into media and thumbnails
- bin/console weedesign:images2webp:cleanup – removes orphaned entries and WebP files (--dry-run shows a preview)
Details
- Available: English, German
- Latest update: 2 November 2026
- Publication date: 18 October 2022
- Version: 6.0.1
- Category: SEO Optimization
Resources
Reviews (15)
Super Plugin und sympathischer und super schneller Support!
Absolute Empfehlung!
TOP PLUGIN
Einwandfrei
Support löst etwaige Probleme sehr schnell!
Wow
PageSpeed erhöht
Gute Möglichkeit ohne CDN auf WEBP zu migrieren
About the Extension Partner
weedesign
Partner Status
-
Shopware
Extension Partner
Details
- Ø-Rating: 4.9
- Partner since: 2019
- Extensions: 72
Support
- Based in: Germany
- Speaks: German, English
- Response time: Very quickly