Feature: The “Automatically Optimize Images on Upload” feature in W3Speedster ensures that every image uploaded to your website—whether on WordPress or any PHP-based platform—is immediately optimized and, if enabled, converted to the WebP format. This proactive approach maintains performance and visual consistency across all content from the moment it’s added. Why We Need It Performance-First […]
Archives: W3Speedster Docs
Documentation for W3Speedster
W3speedster Change Iframe To Iframlazy
Function: w3SpeedsterIframetoIframelazy Description: Change iframe tag to iframlazy tag. Parameter: $iframelazy- 0(default) || 1 Return: 1 – Change iframe tag to iframlazy tag. function w3SpeedsterIframetoIframelazy($iframelazy){ $iframelazy = 1; return $iframelazy; } function w3SpeedsterIframetoIframelazy($iframelazy){ $iframelazy = 1; return $iframelazy; } […]
Responsive Images
Feature: The Responsive Images feature in W3Speedster allows your website to serve device-appropriate background images based on the visitor’s screen size—desktop, tablet, or mobile. This adaptive image delivery ensures faster page loads, efficient bandwidth usage, and visually consistent experiences across all devices. Why This Feature Matters Device-Specific Optimization: Large images intended for desktops are unnecessary […]
W3speedster Exclude Image To Lazyload
Function: w3SpeedsterExcludeImageToLazyload Description: W3Speedster allows you to exclude the images from optimization dynamically which you don’t want to lazyload. Parameter: $exclude_image = 0(default) || 1 $img = Image tag with all attributes $imgnn_arr = Image tag Return: 1 – it will lazy load the image. 0 – it will not lazy load the image. function […]
Upload Directory Path for Images
Feature: W3Speedster provides a dedicated tool to optimize all images within a specified server directory. This feature is especially useful for non-CMS-based PHP frameworks or custom-built platforms where media management is handled manually or through backend file systems. Why We Need It Performance Improvement: Unoptimized images can drastically slow down page load times, especially on […]
W3speedster Customize Image
Function: w3SpeedsterCustomizeImage Description: Customize image tags. Parameter: $img = Image tag with all attributes $imgnn = Modified image tag by plugin $imgnn_arr = Image tag attributes array Return: $imgnn- Customized image tags function w3SpeedsterCustomizeImage($imgnn,$img,$imgnn_arr){ if(strpos($imgnn,’alt’) != false){ $imgnn = str_replace(‘alt=””‘,’alt=”value”‘,$imgnn); } return $imgnn; } function w3SpeedsterCustomizeImage($imgnn,$img,$imgnn_arr){ if(strpos($imgnn,’alt’) != false){ $imgnn = str_replace(‘alt=””‘,’alt=”value”‘,$imgnn); } return $imgnn; […]
Calculate Image
Feature: W3Speedster includes a smart module that analyzes a specified folder path, automatically detecting images that can benefit from optimization. This ensures that only eligible and relevant images are processed—saving time, preserving quality, and enhancing application performance across all PHP-based platforms. Why We Need It Avoid Unnecessary Processing: Prevents re-optimization of already optimized or unsupported […]
W3speedster Prevent Htaccess Generation
Function: w3SpeedsterPreventHtaccessGeneration. Description: Our plugin converts .jpg/.png format to WebP format without changing the URL. it disable webp to render from HTACCESS. Parameter: $preventHtaccess = 0(default) || 1 Return: 1 – It will add w3.webp at the end of the url for instance (xyz.jpgw3.webp). function w3SpeedsterPreventHtaccessGeneration($preventHtaccess){ $preventHtaccess = 1; return $preventHtaccess; } function w3SpeedsterPreventHtaccessGeneration($preventHtaccess){ $preventHtaccess […]
W3speedster Exclude CSS Filter
Function: W3SpeedsterExcludeCssFilter Description: If you want to dynamically exclude a CSS file from optimization, W3Speedster allows you to exclude it from optimization (like style.css). Parameter: $exclude_css – 0(default) || 1 $css_obj – link tag in object format. $css – Content of the CSS file you want to make changes in. $html – content of the […]
Start Image Optimization
Feature: The “Start Image Optimization” feature in W3Speedster triggers the on-demand compression and enhancement of all existing images within your website’s media library. This process helps reduce image file sizes without sacrificing quality, resulting in faster page loads, lower bandwidth consumption, and improved SEO performance. How It Works Once the feature is activated: W3Speedster scans […]