WebP Converter
Converts Image to WebP and AVIF format
30-day money-back guarantee
Changelog — WebP Converter
- \n
- PHP 8.4 no longer shows a deprecation notice from the rate limiter user parameter. \n
- \n
- Bug Fix: Skip non-HTML output so Phoca PDF and other
?format=pdfdownloads are not rewritten (Failed to load PDF document). \n - Bug Fix: Disable for URLs still matches
format=pdfwhen Joomla has already taken that query off the visible address. \n
- \n
- Exclude Folders, exclude JPG (including .jpeg), and excluded file names now apply on page view and on Generate \n
- Generate Images processes every folder you tick, not only the first one \n
- Delete Converted Images needs at least one selected folder. It removes files in that folder under the WebP output directory (default images/webp/), including on Windows \n
- Delete reports how many files were removed. An empty match is a warning, not a fake success \n
- Stop no longer shows a false server error when you abort Generate \n
- Page processing time limit setting (default 90 seconds) so large pages are not cut off after 20 seconds with no control \n
- Administrator Generate and Delete require an admin session, a security token, and plugin manage permission. They do not run from the public site \n
- Manager accounts can finish a full folder Generate without hitting the old 50-per-minute cap \n
- Updating the plugin no longer turns Replace Image URLs Globally back on if you had saved it off \n
- Debug error text is escaped. Language labels install from the plugin folder so you do not see raw PLG_SYSTEM_WEBPCONVERTER keys \n
- Exclusion menus and extensions use searchable lists instead of a long checkbox wall \n
- \n
- Leading slash fix for article images: All image conversion paths (
src,href, data attributes, srcset, picture elements, and LCP preload) now preserve root-relative URLs such as/images/...instead of outputtingimages/.... \n - Output repair pass: Added a final HTML repair step that restores the leading slash on same-site image paths when a matching file exists on disk. \n
- \n
- Root-relative URL preservation: Fixed global replacement removing the leading slash from paths such as
/images/example.jpg, which caused broken article images when browsers resolved them relative to the article URL. \n - Global URL matching: The final HTML scan now distinguishes absolute, root-relative, and path-relative URLs so each keeps its original structure after conversion. \n
- \n
- Global replacement timing: Global image URL replacement now runs as the final step in
onAfterRender, after other system plugins output preload, Open Graph, and JSON-LD markup. \n - Plugin execution order: Install and update routines set plugin ordering to run late so final HTML is processed after SEO and schema extensions. \n
- www / absolute URL handling: Same-site detection now compares hosts with and without
www, and absolute URLs keep their original scheme and hostname. \n - Targeted metadata replacement: Added dedicated passes for
href,content, and JSON-LDurl/imagefields before the general HTML scan. \n - Existing WebP reuse: Global replacement uses an existing converted WebP file on disk when available instead of requiring a new conversion on every request. \n
- Default setting:
Replace Image URLs Globallyis enabled by default; updates to 2.5.1 turn it on automatically. \n
- \n
- Global final HTML image URL replacement: Added a new option,
Replace Image URLs Globally, to rewrite same-site JPG, JPEG, and PNG references across the complete final Joomla output buffer when a converted WebP/AVIF file is available. \n - Structured data and metadata compatibility: Improved compatibility with third-party SEO and schema extensions by covering JSON-LD Schema.org image URLs, Open Graph images, Twitter Card images, and other extension-generated metadata. \n
- Preload image optimization: Image URLs in
<link rel=\"preload\" as=\"image\">tags are now converted to the optimized format while preserving query strings and URL style. \n - Existing picture fallback protection: Existing
<picture>fallback images are now preserved so browser fallback markup remains valid while optimized sources continue to work correctly. \n
- \n
- Fixed full URL preservation: The plugin now correctly preserves complete URLs (with domain) when converting background images to WebP format. Previously, full URLs like
https://example.com/images/image.pngwere being converted to relative paths, causing broken image references. The WebP URL now maintains the original domain structure. \n - Domain preservation: When processing CSS background images with full URLs, the plugin extracts and preserves the original domain, ensuring the converted WebP URL includes the complete domain path (e.g.,
https://example.com/j6/images/webp/image.webp). \n - Background image URL handling: Improved handling of absolute URLs in CSS background-image properties to prevent loss of domain information during WebP conversion. \n
- WebP/AVIF file skipping: The plugin now explicitly skips images that are already in WebP or AVIF format, preventing unnecessary processing and potential errors. This optimization improves performance by avoiding attempts to convert files that are already in the target format. \n
- Performance optimization: Added early detection and skipping of WebP/AVIF files across all processing methods (img tags, background images, anchor tags, data attributes, srcset, and batch conversion), reducing processing time and resource usage. \n
- \n
- Anchor tag support: The plugin now converts images referenced in
<a href>attributes, enabling WebP conversion for image links and gallery lightbox links \n - Data attribute support: Added comprehensive support for data attributes containing image URLs, including
data-src,data-thumb,data-background,data-image,data-url,data-href,data-original,data-full,data-large,data-medium,data-small,data-preview,data-poster,data-cover, anddata-bg\n - Gallery and slideshow compatibility: Images in gallery plugins, lightbox libraries, and slideshow components are now automatically converted to WebP format \n
- Lazy loading library support: Images loaded via lazy loading libraries using
data-srcattributes are now properly converted \n
- \n
- Fixed suffix requirement issue: The plugin no longer forces default suffixes (
_iwebpand_iavif) when suffix fields are left empty \n - Empty suffix support: Users can now configure the plugin to use no suffixes at all, as files are already stored in a separate directory \n
- Settings persistence: Empty suffix values are now properly saved and won't be overwritten when opening the plugin settings \n
- Default values updated: Changed default suffix values from
_iwebpand_iavifto empty strings \n
Major Feature Release - AVIF Support & SEO Optimization
\n- \n
- AVIF Format Integration: Full support for AVIF image format alongside WebP for maximum compression and quality \n
- Dual Format Processing: Convert to WebP only, AVIF only, or both formats simultaneously with automatic browser fallback \n
- Joomla 6.x Compatibility: Full support for Joomla 6.x in addition to 4.x and 5.x \n
- Native Lazy Loading: Built-in browser-native lazy loading support for improved Core Web Vitals scores \n
- SEO & Accessibility Enhancements: Alt text preservation, attribute retention, and above-the-fold detection \n
AVIF Format Support
\n- \n
- AVIF Conversion:\n
- \n
- Convert images to AVIF format with up to 50% better compression than WebP \n
- Separate quality control for AVIF (5-100%, automatically scaled to 0-63) \n
- Custom AVIF filename suffix (default: _iavif) \n
- Automatic fallback to WebP if AVIF is not supported by server \n
- ImageMagick fallback support for AVIF conversion when GD doesn't support it \n
\n - Format Selection:\n
- \n
- Choose between WebP only, AVIF only, or Both formats \n
- When \"Both\" is selected, picture elements are automatically enabled \n
- Batch operations support format selection (WebP, AVIF, or Both) \n
- Format-specific directory management and cleanup \n
\n - Picture Element Enhancement:\n
- \n
- Automatic picture element generation with AVIF, WebP, and original image fallback \n
- Preserves all image attributes (alt, class, id, style, loading) during conversion \n
- Optimal browser compatibility with proper source ordering \n
\n
SEO & Core Web Vitals Optimization
\n- \n
- Native Lazy Loading:\n
- \n
- Browser-native lazy loading support reduces initial page load by up to 80% \n
- Improves Largest Contentful Paint (LCP) scores for better search rankings \n
- Smart above-the-fold detection ensures critical images load immediately \n
- Configurable option to enable lazy loading for above-the-fold images \n
\n - Accessibility & Metadata:\n
- \n
- Automatic preservation of alt text, class names, IDs, and styles \n
- Maintains SEO value of image metadata during conversion \n
- Ensures accessibility compliance (WCAG guidelines) \n
\n - Performance Metrics:\n
- \n
- Up to 80% file size reduction improves page speed scores \n
- Reduces bandwidth usage and enhances user experience metrics \n
- Automatic conversion of both inline images and CSS background images \n
\n
Enhanced Debug & Monitoring
\n- \n
- Advanced Debug Output:\n
- \n
- Dynamic table layout that adapts to selected format (WebP, AVIF, or Both) \n
- Separate columns for AVIF and WebP paths, sizes, and savings when both formats are used \n
- Individual saved percentages calculated for each format \n
- Comprehensive format explanation section (What is WebP? What is AVIF?) \n
- Fixed HTML rendering issues with line breaks in details column \n
\n - Format-Specific Statistics:\n
- \n
- Track AVIF and WebP conversion separately \n
- Individual compression ratios and file size savings \n
- Format-specific error reporting and status tracking \n
\n
User Interface Improvements
\n- \n
- Batch Operations Enhancement:\n
- \n
- Format selection dropdown integrated with Generate and Delete buttons \n
- Streamlined UI with inline format selection and action buttons \n
- Removed confusing duplicate format fields \n
- Format values properly saved to database \n
\n - Quality Slider Fix:\n
- \n
- Fixed issue where multiple quality sliders would update the same label \n
- Unique IDs for each slider ensure proper value display \n
\n - Directory Management:\n
- \n
- Updated labels to reflect both WebP and AVIF support \n
- Enhanced directory statistics to show both format counts \n
\n
Technical Improvements
\n- \n
- Extended Image Class:\n
- \n
- Enhanced AVIF conversion with proper quality scaling (0-100 to 0-63) \n
- Improved PNG alpha channel handling for AVIF conversion \n
- ImageMagick fallback for AVIF when GD doesn't support it \n
- Null path handling for better error prevention \n
\n - Directory Manager:\n
- \n
- Added getAVIFPath() method for AVIF file path generation \n
- Format-specific filename mapping to prevent hash collisions \n
- Enhanced directory creation for both formats \n
\n - Image Processor:\n
- \n
- Refactored conversion logic to support multiple formats \n
- Enhanced convertImageFormats() method for WebP and AVIF \n
- Improved generatePictureElement() with AVIF support \n
- Better SVG file handling (explicit skip instead of failed status) \n
\n - Helper Class:\n
- \n
- Added isAVIFSupported() method to check server capabilities \n
- Enhanced displayDebugInfo() with dynamic format-aware tables \n
- Improved memory usage row alignment for dual-format layouts \n
\n
Security & Compatibility
\n- \n
- Fixed namespace issues for Joomla 6.x compatibility \n
- Enhanced installer script with proper language loading \n
- Improved error messages during installation/update \n
- Better handling of missing language strings with fallbacks \n
Code Quality
\n- \n
- Comprehensive QA review and bug fixes \n
- Improved error handling and null checks \n
- Enhanced code documentation \n
- Better separation of concerns in class structure \n
Major Enterprise Upgrade - Complete Rewrite
\n- \n
- Enterprise-Grade Architecture: Complete plugin rewrite with modular class structure for large-scale deployments \n
- 85% Performance Improvement: Admin interface now loads 85% faster with lazy loading and optimized queries \n
- Advanced Caching System: JSON-based caching reduces processing overhead by up to 90% for repeat operations \n
- Interactive Folder Management: Visual tree interface with checkboxes for selecting one, multiple, all, or none folders \n
- Universal Joomla Compatibility: Optimized for Joomla 4.x and 5.x with cross-platform Windows/Linux support \n
Enterprise Features
\n- \n
- Advanced Directory Management:\n
- \n
- Custom WebP output directories (webp_thumbs, thumbnails, etc.) \n
- Flat structure option for large archives - store ALL WebP files in single directory \n
- Hashed filename system with MD5-based unique names to prevent conflicts \n
- JSON mapping system for reverse lookup of hashed filenames \n
- Automatic directory creation with proper permissions \n
- Orphaned file detection and cleanup tools \n
\n - Rate Limiting & Security:\n
- \n
- CSRF protection for all AJAX requests with security tokens \n
- Built-in abuse prevention: 5 batch ops, 50 single conversions, 10 delete ops per hour \n
- Super administrator bypass for all limits \n
- Comprehensive input validation and directory traversal prevention \n
\n - Advanced Logging & Monitoring:\n
- \n
- Multi-level logging (Info, Warning, Error, Debug) with context information \n
- User ID, IP address, memory usage, and processing time tracking \n
- Conversion statistics: success/failure rates, file size savings, performance metrics \n
- Cache performance monitoring with hit/miss ratios \n
\n
⚡ Performance & Memory Management
\n- \n
- Smart Memory Management:\n
- \n
- Configurable memory thresholds (60-90%) prevent server overload \n
- Operations pause when limits reached, resume when memory available \n
- Explicit resource cleanup prevents memory leaks during batch operations \n
- 60% memory usage reduction through enhanced management \n
\n - Intelligent Caching:\n
- \n
- Configurable cache lifetime (1-168 hours) for different site types \n
- Automatic cache cleanup removes expired entries \n
- Cache hit rate monitoring in debug mode \n
\n - Lazy Loading Interface:\n
- \n
- Handles thousands of folders without browser freezing \n
- Maximum 50 folders per load with \"Load more\" functionality \n
- Initial 2-level depth scan prevents interface overload \n
\n
Advanced Configuration Options
\n- \n
- File Management:\n
- \n
- Customizable WebP filename suffix (default: _iwebp) \n
- Preserve original timestamps for backup system compatibility \n
- Configurable min/max file size limits (prevent processing tiny icons or huge files) \n
- Quality control (5-100%) with format-specific optimization \n
\n - Directory Structure Options:\n
- \n
- Maintain original directory structure or use flat structure \n
- Auto-create directories with proper permissions \n
- Custom output directory naming and organization \n
\n - Advanced Exclusions:\n
- \n
- Multi-level exclusions: formats, menu items, components, URLs, specific images \n
- Wildcard pattern support for flexible exclusion rules \n
- Strategic exclusion templates for different site types \n
\n
? Universal Deployment Capabilities
\n- \n
- Cross-Platform Compatibility:\n
- \n
- Normalized path handling works on Windows and Linux servers \n
- Automatic Media component configuration detection \n
- Perfect URL generation across all hosting environments \n
\n - Hosting Environment Optimization:\n
- \n
- Shared hosting: Conservative memory settings with graceful degradation \n
- VPS: Balanced performance optimization \n
- Dedicated servers: Maximum performance utilization \n
- Cloud environments: Auto-scaling and load balancing compatibility \n
\n
Technical Improvements
\n- \n
- Modern Architecture:\n
- \n
- Modular class structure: Logger, RateLimiter, Cache, DirectoryManager, ImageProcessor \n
- Enhanced error handling with sanitized user-friendly messages \n
- Context-aware operation (Web, CLI, AJAX contexts) \n
\n - Advanced Image Processing:\n
- \n
- Extended Image class with proper PNG alpha channel handling \n
- Picture element support for better browser compatibility \n
- Enhanced srcset and CSS background image processing \n
\n - Database Integration:\n
- \n
- Robust Media component configuration retrieval \n
- Fallback mechanisms for different Joomla versions \n
- Safe database queries with error handling \n
\n
Management Interface Enhancements
\n- \n
- Interactive Folder Tree:\n
- \n
- Visual directory structure with expandable folders \n
- Parent-child checkbox relationships \n
- Select All/None/Individual folder options \n
\n - Batch Operations:\n
- \n
- Real-time progress tracking during operations \n
- Detailed conversion statistics and results \n
- Error reporting with actionable information \n
\n - Directory Management Dashboard:\n
- \n
- Create WebP directories with progress tracking \n
- View directory statistics and file counts \n
- Clean up empty directories and orphaned files \n
\n
Security & Reliability
\n- \n
- All AJAX endpoints protected with CSRF tokens \n
- Comprehensive input validation and sanitization \n
- Directory traversal prevention \n
- Graceful error recovery ensures continued operation \n
- Rate limiting prevents abuse and server overload \n
Major Improvements
\n- \n
- Major memory usage optimizations for frontend processing \n
- Removed session-based caching in favor of more efficient filesystem checks \n
- Enhanced image timestamp comparison for smarter WebP regeneration \n
- Added support for processing large numbers of images on a single page \n
Debug Enhancements
\n- \n
- Improved debug output with more accurate statistics \n
- Fixed issues with incorrect image counting in debug mode \n
- Enhanced memory usage tracking and reporting \n
Performance Optimizations
\n- \n
- Optimized HTML parsing to reduce memory consumption \n
- Added memory usage monitoring to prevent server overload \n
- Improved reliability for sites with heavy image content \n
- Streamlined page processing for faster performance \n
- \n
- Removed GD Library Dependancy \n
- Debug Mode Improved \n
- PNG Image Issue Fixed \n
Major Changes
\n- \n
- Completely refactored the codebase for better organization and maintainability \n
- Added comprehensive debug information display system \n
- Improved image processing with better error handling \n
New Features
\n- \n
- Added debug mode with detailed statistics table showing:\n
- \n
- Original and WebP image paths with clickable links \n
- Original file sizes \n
- WebP file sizes \n
- Space saved per image \n
- Compression percentage \n
- Total savings across all images \n
\n - Added support for CSS background images \n
- Added alternating row colors in debug table for better readability \n
- Added total statistics row in debug mode \n
Architectural Improvements
\n- \n
- Split code into separate classes for better organization:\n
- \n
- WebpConverterGDSupport: Handles GD library support checking \n
- WebpConverterImageProcessor: Manages image processing and conversion \n
- WebpConverterHelper: Provides utility functions \n
\n - Improved memory management by properly destroying image resources \n
- Added proper error handling throughout the codebase \n
Technical Improvements
\n- \n
- Enhanced image processing:\n
- \n
- Better handling of PNG transparency \n
- Improved JPEG quality control \n
- Added support for GIF images \n
\n - Improved path handling and normalization \n
- Enhanced external URL detection \n
- Better directory structure management \n
- Added proper UTF-8 support in HTML processing \n
Bug Fixes
\n- \n
- Fixed memory leaks in image processing \n
- Fixed path handling issues with different URL formats \n
- Fixed issues with srcset attribute processing \n
- Fixed directory permission handling \n
- Resolved issues with special characters in filenames \n
Security Improvements
\n- \n
- Added proper input validation \n
- Improved file path sanitization \n
- Added checks for directory traversal attempts \n
- Enhanced error message security \n
Performance Optimizations
\n- \n
- Improved caching of converted images \n
- Reduced memory usage during image processing \n
- Optimized HTML parsing and modification \n
- Enhanced background image processing performance \n
Admin Interface
\n- \n
- Added better error messaging system \n
- Improved debug information display \n
- Added clickable links to view original and converted images \n
- \n
- Fixed issue with absolute path when using language filter. \n
- Doesn't support Joomla 3.x anymore. \n
- \n
- Frontend Editing Mode Detection: Added checks to prevent the plugin from running when the site is in frontend editing mode. This ensures that the plugin does not interfere with the editing experience. \n
- Detects editing mode by checking for parameters tmpl, task, and layout in the URL. \n
- Returns early if any of these parameters indicate that the site is in editing mode. \n
- \n
- Supports Joomla 5 without Backward Compatibility Plugin \n
- Fixed issues with image path not found \n
- Added Debug Mode to compare the images in frontend. \n
- \n
- Supports Joomla 4. \n
Side-by-side comparison of the same photo. WebP is generated automatically with the _iwebp.webp suffix next to the original file.
Large photographic JPEGs see dramatic savings while staying visually sharp at the default quality setting.
When the plugin is enabled, every <img> on the page is served as WebP automatically. The markup below references a JPG — visitors receive the optimised WebP version.
The plugin also rewrites srcset attributes so retina and responsive image sets stay optimised.
- Converts
srcon every<img>tag - Rewrites
srcsetfor responsive images - Inline
background-imageCSS URLs - Caches WebP files beside originals (
_iwebp.webp)
All options are available under System → Plugins → System - WebP Converter.
- Adjustable WebP quality slider (5–100)
- Exclude JPG, PNG or GIF formats
- Disable per menu item, component or URL
- Exclude specific image filenames
- Debug mode with conversion table
Pre-generate WebP files for an entire images folder from the plugin admin, or delete all _iwebp.webp files with one click.
- Select any folder under
/images - Batch convert all JPG, PNG & GIF files
- Delete all generated WebP images
- Per-file size & compression report
Faster pages, smaller payloads
Automatic WebP conversion for Joomla
WebP Converter transparently serves modern WebP images to supported browsers. Convert on the fly, pre-generate entire folders, and cut page weight without changing your templates.
<img> tag is optimised when the page renders.srcset attributes are rewritten too.background-image URLs are converted automatically.Ready to speed up your Joomla site?
Install WebP Converter, enable the plugin, and start serving lighter images today — no template edits required.
- Joomla 4, 5 & 6
- Free updates
- Dedicated support