= 7.7.0 = *Release Date - June 6, 2024* * added: improved resizing of paletted PNG images in WP_Image_Editor using pngquant or API * added: warning when hiding query strings with Hide My WP * changed: apply async loading to lazyload JS using WP core functionality * fixed: missing srcset when using JS WebP rewriting * fixed: multisite deactivate for Easy IO fails nonce verification * fixed: some strings were missing i18n (props @DAnn2012) = 7.6.0 = *Release Date - April 24, 2024* * added: Easy IO delivery for JS/CSS assets from additional domains * added: Lazy Load can use dominant color placeholders via Easy IO * added: ability to filter/parse admin-ajax.php requests via eio_filter_admin_ajax_response filter * added: Easy IO support for Divi Pixel image masks * changed: improved smoothing of LQIP for Lazy Load when using Easy IO * changed: after editing an image in WordPress, optimization results for backup sizes will be hidden from Media Library list mode * changed: Lazy Load checks for auto-scale exclusions on ancestors of lazyloaded element * fixed: async bulk interface does not show Start Optimizing when image queue is already visible * fixed: bulk process appears to have completed after clearing queue * fixed: storing resize/webp results for new images fails with MySQL strict mode * fixed: database records not cleaned after thumbs are removed by Force Regenerate Thumbnails * fixed: JPG to PNG conversion on 8-bit PNGs sometimes uses incorrect black background * fixed: Help links broken in Firefox's Strict mode * fixed: async queue status not properly checked on multi-site = 7.5.0 = *Release Date - March 26, 2024* * added: Easy IO support for upcoming Slider Revolution 7 rendering engine * added: Easy IO updates existing image preload URLs * added: Lazy Load automatically excludes preloaded images * changed: async process locking uses unique key on disk to avoid duplicate processes * fixed: Easy IO skipping Slider Revolution 6 URLs * fixed: Lazy Load incorrectly auto-scales fixed group background images * fixed: uncaught errors when attempting svgcleaner install on FreeBSD * fixed: optimized images list links to WebP thumbnail for all sizes * fixed: optimized images list shows wrong thumbnail for non-media library images * fixed: quirks with new bulk interface and optimized images list * updated: cwebp to version 1.3.2 * updated: gifsicle to version 1.95 * updated: optipng to version 0.7.8 = 7.4.0 = *Release Date - March 6, 2024* * added: async bulk optimizer on settings page * added: store WebP results/errors for display in Media Library, and in optimization table/results * added: ability to view pending/queued images, remove images from queue, and sort queue by original image size * fixed: restoring images from optimization table * fixed: attempting to install x64 binaries on arm64 servers = 7.3.0 = *Release Date - February 20, 2024* * added: API processing for large images done asynchronously to avoid timeouts * added: Store resize results to prevent repeated attempts to scale images that yield larger filesizes * added: warning to remove outdated AGR plugin * changed: improved timeout handling/avoidance for scheduled optimization * fixed: JS WebP can't check for local images when using S3 on multisite in sub-folder mode * fixed: corrupted images (with an unrecognized file header) being repeatedly scanned by the bulk/scheduled optimizer * fixed: GIF images not offloaded by WP Offload Media when operating in free cloud-based mode due to no thumbnail generation * fixed: Easy IO applying resize parameters to existing (re)sizes * security: improve authentication for some plugin actions = 7.2.3 = *Release Date - January 4, 2024* * fixed: Easy IO incorrectly modifies JS/CSS URLs when using S3 on multisite * fixed: regression with WP Offload Media compatibility and incorrect ContentType for WebP images * fixed: local backup folder not protected from optimization = 7.2.2 = *Release Date - December 12, 2023* * fixed: Lazy Load compatibility with X/Pro themes and Cornerstone builder * fixed: JPG quality level ignored during PNG to JPG conversion * fixed: too much scaling for Visual Composer background images with zoom effect * fixed: Perfect Images compatibility function broken during image upload * fixed: Easy IO strips extra sub-folders in non-image URLs * fixed: compatibility with NextGEN Gallery 3.50+ * fixed: optimization of dynamic thumbs for NextGEN Gallery = 7.2.1 = *Release Date - September 7, 2023* * changed: Scheduled Optimizer skips image errors faster * changed: use updated coding standards, and restructure code for async/background functions * removed: legacy image editor extensions for unmaintained plugins * security: randomize filename of debug log = 7.2.0 = *Release Date - July 20, 2023* * added: Easy IO rewrites poster/thumbnail image URLs for video elements * changed: Easy IO + Auto Scale checks images on load and resize events to reduce browser upscaling * changed: prevent Easy IO font substitution when OMGF is active * fixed: Auto Scale downscales too much for landscape images displayed in portrait containers * fixed: Easy IO compatibility with Brizy thumbnail generation endpoint = 7.1.0 = *Release Date - June 29, 2023* * added: deliver Google Fonts via Easy IO or Bunny Fonts for improved user privacy * fixed: PHP error trying to save EXIF data to JPG after resizing * fixed: could not disable auto-scaling * fixed: prevent errors when using legacy Animated GIF Resizing plugin * fixed: prevent WP Offload Media from prematurely re-offloading when using bulk optimizer = 7.0.2 = * fixed: background optimization incorrectly displays as disabled on fresh installs with object caching * fixed: Easy IO registration state not detected on multi-site * fixed: duplicate queries in wp-admin when used with WP Offload Media * fixed: deprecation notices when validating quality settings * fixed: error when checking a corrupted PNG for transparency = 7.0.1 = * fixed: Easy IO instructions display incorrect URL when images are on cloud storage (S3, GCS, etc.) * fixed: fatal error calling undefined method supports_webp = 7.0.0 = * breaking: namespaced and reorganized several classes, third party integrations should check for compatibility * added: allow video files to go through Easy IO CDN (pass through) * added: support for WP_Image_Editor_Imagick::set_imagick_time_limit() method added in WP 6.2 * added: ewwwio_inline_webp_script_attrs filter to add custom data-* attributes to the JS WebP inline scripts * added: Easy IO support for BuddyBoss images, video, and documents * added: Bulk Optimizer and Scheduled Optimizer include BuddyBoss profile and cover image folders automatically * added: backup images post-resize but pre-compression with the ewww_image_optimizer_backup_post_resize filter * added: improved support for Hide My WP Ghost in Lazy Load, and WebP rewriting engine * added: update attachment metadata for WPML replicas after image conversion * changed: improved Auto Scaling when using full-width layout in Elementor * changed: use fread to check mimetype of files for better performance * changed: style tag search/regex cleaned up to prevent excess markup * fixed: WebP images are added to WP Offload Media queue multiple times * fixed: PHP 8.1 deprecation notices from usage of add_submenu_page and add_query_arg * fixed: debug notice cannot be dismissed on sub-sites for network-activated installs * fixed: PHP notice when cleaning attachment metadata * fixed: error when certain options have been stored as strings rather than serialized arrays * fixed: tool path and content dir functions don't resolve symlinks * fixed: Easy IO image URLs leaking into image gallery block via post editor * fixed: JS WebP issues when body tag has script attributes * fixed: clearing debug log does not redirect back to settings page in rare cases = 6.9.3 = * changed: improved Brizy Builder compatibility * changed: async optimization defers processing by WP Offload Media until after optimization is complete, fixes issues with WP Offload Media 3.1+ * fixed: converting an image with the same base name as a previous upload (image.png vs. image.jpg) could cause naming conflict when using WP Offload Media with Remove Local Media option * fixed: Bulk Optimize encounters unrecoverable error when a GIF or PDF file takes too long to optimize * fixed: Easy IO fails to apply crop for custom size in some cases * fixed: Picture WebP rewriter uses mixed single/double quotes * fixed: PHP warnings when bulk optimizing images on cloud storage with no local copies * improved: ensure originals are removed from local storage after conversion when using WP Offload Media with Remove Local Media option * improved: ensure originals are queued for removal from remote storage after conversion and subsequent deletion when using WP Offload Media = 6.9.2 = * changed: improved Easy IO detection for site URL changes * changed: load backup class earlier to prevent issues with custom image uploaders * fixed: and improved the ewwwio_translated_media_ids filter, props @ocean90 * fixed: Lazy Load JS throws error if inline script vars are missing * fixed: Easy IO + Lazy Load auto-scale produces invalid URL if an image with no query string is constrained by height = 6.9.1 = * changed: default syntax for MySQL 8.x to use faster upgrade query * fixed: bulk action parameter was not validated properly when selecting attachments for optimization * fixed: undefined function ewww_image_optimizer_get_primary_wpml_id * fixed: PHP notices when Easy IO filters srcset URLs = 6.9.0 = * added: allow translation plugins to filter attachment IDs for retrieving Media Library results via ewwwio_primary_translated_media_id/ewwwio_translated_media_ids * changed: include upstream lazysizes unveilhooks for use by developers, props @saas786 * fixed: Easy IO compatibility with S3 Uploads 3.x * fixed: better compatibility with S3 Uploads when using autoload * fixed: PHP notices when removing images and backups are disabled * fixed: trailing comma after parameters in WP-CLI remove_originals function * fixed: Easy IO srcset URL construction not accounting for object versioning with S3 (or other cloud storage) = 6.8.0 = * added: ability to store image backups on local storage * added: tool to bulk restore images under Tools menu and WP-CLI * added: WebP cleanup tool can be resumed and run via WP-CLI * added: Delete Originals can be run via WP-CLI * added: remove originals after conversion (like PNG to JPG) via WP-CLI * added: exclude by page for Easy IO, Lazy Load, and WebP delivery methods * changed: ensure full-size image is optimized after resizing with Imsanity * fixed: incorrect cfasync attribute used for JS WebP scripts = 6.7.0 = * added: API keys can be used to auto-register sites for Easy IO, including sub-keys * changed: expose legacy resize dimensions with removal option * fixed: Lazy Load not using EWWWIO_CONTENT_DIR * fixed: Easy IO Premium/WebP compression disabled incorrectly when in Easy Mode * fixed: JS WebP body script throws error if wp_head script missing * fixed: Lazy Load Auto-scale adds query parameters to SVG images * fixed: JS WebP and Lazy Load prevent image loading in GiveWP iframe * fixed: Auto Scale crops too much for object-* images in Oxygen * fixed: trailing space on image URL handled incorrectly * updated: Gifsicle to version 1.93 and Pngquant to 2.17 * removed: free binaries for SunOS, may use free cloud-based JPG compression instead = 6.6.0 = * added: AVIF support via Easy IO, enable on site management at ewww.io * added: sharpening setting to improve WP resizing via ImageMagick and WebP conversion * added: AVIF quality setting on Advanced tab * added: ability for Easy IO to get full-size path when using offloaded media * changed: JPG quality and WebP quality moved to Advanced tab * changed: allow .htaccess rules on Cloudways with notice about WebP Redirection toggle * fixed: front-end HTML parsers running within Bricks editor * fixed: Easy IO not finding scaled full-size for dynamic size generation * fixed: cover images not cropped properly by Easy IO * fixed: Easy IO URLs leaking into post editor with WP 6.0 = 6.5.2 = * added: automatic optimization for Crop Thumbnails plugin * added: filters to adjust sharpening parameters for core WP (ImageMagick) image resizing * changed: Easy IO WebP quality can be defined separately from the JPG quality used for resizing operations * fixed: Picture WebP rewriting disabled on embeds * fixed: Lazy Load integration with WooCommerce Product Recommendations handling AJAX output incorrectly * fixed: PHP notice when checking for presence of mod_rewrite/mod_headers = 6.5.1 = * fixed: LQIP option not available on sub-domain multisite install unless Easy IO is active on site 1 * fixed: API quota function doesn't handle expired status correctly = 6.5.0 = * added: Lazy Load and Easy IO support for multiple background images and mixing with gradients * changed: all Easy IO settings available to all plan levels * changed: Easy IO CDN image links constrained to 2560px, use EIO_PRESERVE_LINKED_IMAGES to override * fixed: database upgrade fails on MySQL 5.6 * fixed: LQIP and SVG placeholder options not auto-loaded correctly * fixed: regression in legacy translation loader = 6.4.2 = * added: JS/Picture WebP rewriters support FacetWP AJAX responses * fixed: errors from posix_getpwuid() and posix_getgrgid() not handled correctly * fixed: PNGOUT download URLs were moved, causing auto-install to fail * fixed: Easy IO was adding srcset markup for SVG images = 6.4.1 = * added: use decoding=async to prevent images from blocking text render * fixed: database upgrade fails on MySQL 8.0.x * fixed: Auto-scale incorrectly handles Divi parallax background images * fixed: native lazy loading used on inline PNG placeholders * fixed: WebP rewriters not recognizing WP Offload Media Path (object prefix) setting = 6.4.0 = * added: free API-based WebP generation for servers that cannot generate WebP images locally * added: detection for Jetpack Boost lazy load function * added: JS WebP handling for WooCommerce product variations * changed: SVG placeholder setting removed from UI as PNG placeholders can now provide the same benefits (and better). * changed: Lazy Load no longer excludes first image in a page due to potential CLS issues and auto-scaling suppression * fixed: PNG thumbnails skipped from WebP conversion when using exec-free mode * fixed: SVG placeholders broken when existing img src is single-quoted * fixed: Lazy Loader incorrectly parses fall-back iframe from Google Tag Manager, triggering 403 errors in some WAF systems * fixed: error when disabling Easy IO * fixed: Easy IO misses some image URLs on multi-site when using domain-mapping * fixed: SVG level cannot be set when using API if svgcleaner was not installed previously * fixed: Easy IO URL rewriter changing links if they matched a custom upload folder * fixed: Easy IO incompatible with Toolset Blocks * fixed: Easy IO incorrectly sizing wide/full width cover blocks * fixed: SWIS CDN compat called too early in some cases * updated: PHP EXIF library dependency updated to 0.9.9 * removed: PHP 7.1 is no longer supported = 6.3.0 = * added: EIO_LAZY_FOLD override to configure number of images above-the-fold that will be skipped by Lazy Load * added: Easy IO URLs for custom (non-WP) srcset markup * added: Easy IO support for CSS background images with relative URLs * changed: Lazy Load excludes first image in a page as above-the-fold * fixed: Easy IO scaling not working on full-size images without srcset/responsive markup * fixed: WebP and Lazy Load function skip images dynamically created by Brizy builder * fixed: Easy IO conflict on Elementor preview pages * fixed: EXACTDN_CONTENT_WIDTH not effective at overriding $content_width during image_downsize filter = 6.2.5 = * added: Easy IO and Lazy Load support for AJAX responses from FacetWP * changed: Vimeo videos excluded from iframe lazy load * changed: use 'bg-image-crop' class on elements with CSS background images that need to be cropped by auto-scaling * fixed: sub-folder multi-site installs which use separate domains could not activate Easy IO, define EXACTDN_SUB_FOLDER to override * fixed: Lazy Load PNG placeholders cannot be cached if the WP_CONTENT_DIR location is read-only (notably on Pantheon servers) * fixed: is_amp() called too early * fixed: Fusion Builder (Avada) does not load when Lazy Load, WebP, or Easy IO options are enabled * fixed: png_alpha() check uses more memory than is available, causing some uploads to fail = 6.2.4 = * added: Multi-site domain-based installs can activate/register sites en masse, and directly upon site creation * changed: improved db upgrade routine for updated column * changed: JS WebP script moved back to page head * fixed: local PNG placeholders enabled with Easy IO when placeholder folder is not writable * fixed: WebP Rewriters not detecting upload URL correctly for CDN support * fixed: iframe lazy loading breaks Gravity Forms and FacetWP when parsing JSON * fixed: is_amp() called too early * fixed: SQL error when running "wp-cli ewwwio optimize media" - props @komsitr * fixed: local savings query sometimes returns no results * fixed: PHP warnings when local tools are disabled = 6.2.3 = * fixed: db error when MariaDB 10.1 does not permit ALTER for setting default column value * fixed: Lazy Load missing placeholder folder when Easy IO is enabled = 6.2.2 = * added: disable Easy IO's "deep" integration with image_downsize filter via EIO_DISABLE_DEEP_INTEGRATION override * added: integration with JSON/AJAX respones from Spotlight Social Media Feeds plugin * changed: PNG placeholders are now inlined for less HTTP requests and better auto-scaling * changed: Bulk Optimizer processes images from oldest to newest for the Media Library * changed: Resize Detection uses minified JS and console logging suppressed unless using SCRIPT_DEBUG * fixed: Easy IO does not rewrite image (href) links if image_downsize integration has rewritten the img tag * fixed: Lazy Load throws error when ewww_webp_supported not defined in edge cases * fixed: front-end scripts loading for page builders when they shouldn't be * fixed: when using WP/LR Sync, EWWWIO_WPLR_AUTO does not trigger optimization for new images * fixed: img element search parsing JSON incorrectly * fixed: WebP uploads not resized to max dimensions = 6.2.1 = * fixed: Lazy Load regression prevents above-the-fold CSS background images from loading * fixed: WebP Conversion for CMYK images leaves empty color profile attached = 6.2.0 = * added: PHP-based WebP Conversion via GD/Imagick in free mode when exec() is disabled * added: enable -sharp_yuv option for WebP conversion with the EIO_WEBP_SHARP_YUV override * added: WebP Conversion for CMYK images * added: webp-supported conditional class added to body tag when JS WebP is active * added: WP-CLI command can be run with --webp-only option * added: Lazy Load for iframes, add 'iframe' in exclusions to disable * added: compatibility with S3 Uploads 3.x * added: preserve metadata and apply lossless compression to linked versions of images via Easy IO with EIO_PRESERVE_LINKED_IMAGES constant * added: Easy IO rewrites URLs in existing picture elements * changed: JS WebP scripts moved to beginning of page footer * changed: native lazy loading is now enabled for right-sized PNG placeholders, override with EIO_DISABLE_NATIVE_LAZY constant * changed: add resume ability to Delete Originals tool * changed: move Easy IO check-in to wp_cron * fixed: empty .webp images sometimes produced when cwebp encounters an error * fixed: Bulk Optimizer for NextGEN loading incorrect script * fixed: Bulk Optimizer for NextGEN fails to verify nonce for selective optimization * fixed: Last Optimized times for Optimized Images table were incorrect * fixed: Add Missing Dimensions overwrites smaller width/height attribute if only one is set * fixed: replacing an existing attribute (like width) with a numeric value is broken = 6.1.9 = * fixed: Easy IO's Include All Resources compat with Oxygen Builder and Beaver Builder * fixed: regex to detect SVG images in use elements caused excessive backtracking * fixed: WebP version of full-size image not removed when attachment deleted due to undefined variable * fixed: Easy IO adds invalid zoom parameter of 1920 to srcset URL = 6.1.8 = * fixed: Lazy Load fails to auto-scale with img-crop class for Easy IO * fixed: WebP files sometimes fail to be re-generated after Photo Engine (WP/LR) sync * fixed: Lazy Load throws JS error in SCRIPT_DEBUG mode = 6.1.7 = * fixed: syntax error due to trailing comma after last parameter in function call(s). = 6.1.6 = * added: support for BuddyPress uploads via Vikinger theme. * added: compatibility with Weglot. * added: use 'img-crop' id/class, or data-img-crop attribute to force cropping with Easy IO + Lazy Load. * changed: Resize Existing enabled by default for new installs. * changed: Lazy Load JS moved to footer * fixed: prevent Resize Detection from flagging SVG files. = 6.1.5 = * changed: use core wp_getimagesize() for proper error handling * fixed: prevent erasing title attributes for admin users when Lazy Load and Resize Detection are enabled * fixed: creates empty file when image is too large for WebP conversion = 6.1.4 = * changed: better handling for API quotas * fixed: picture elements not parsed when using JS WebP with Lazy Load * fixed: bundled tools don't work if the binary/tool directory is mounted on a filesystem separate from wp-content/ * fixed: bulk optimizer not finding images from cloud storage (like S3) when local versions are removed = 6.1.3 = * changed: bulk optimizer no longer skips image types set to "no compression" in WebP-only mode * fixed: CNAME setting from WP Offload Media triggers "unknown" error in Easy IO * fixed: missing EIO_LL_THRESHOLD variable for minified JS = 6.1.2 = * fixed: bug from bypass/exclusion code for bulk scanner in 6.1.1 * fixed: running is_file on system binaries may trigger open_basedir warnings, use EWWWIO_OPEN_BASEDIR to override PHP's open_basedir restriction = 6.1.1 = * change: added setting to enable adding of missing width/height dimensions, disabled by default * fixed: warning from plugins using core wp_lazy_load filter without second parameter/argument = 6.1.0 = * added: ability to use SVG placeholders for more efficient lazy load * added: Easy IO and Lazy Load add missing width and height to image elements * added: Lazy Load - right-sized placeholders can be generated for full-sized images * added: configure Lazy Load pre-load threshold via EIO_LL_THRESHOLD constant * changed: Lazy Load for external (non-inline) CSS images must be configured for specific elements * changed: Easy IO's Include All Resources unlocked for all plans * changed: native lazy loading is now disabled when using EWWW IO lazy load, override with EIO_ENABLE_NATIVE_LAZY constant * changed: Lazy Load pre-load threshold increased from 500px to 1000px * changed: Lazy Load picture elements use right-sized img placeholder instead of 1x1 inline GIF * changed: system-installed binary detection improved * fixed: native iframe lazy load disabled in WP 5.7+ * fixed: detection for Shield Security plugin lock to location * fixed: relative path migration showing errors in site tools * fixed: WebP rewriters not handling relative image urls * fixed: existing elements ignored by WebP Rewriting * fixed: elements inside elements incorrectly handled by JS WebP Rewriting * fixed: removing metadata clobbers APNG animations * fixed: some JSON elements still being altered by Lazy Load * fixed: Easy IO throws warnings when WP content is not in a sub-directory * updated: jpegtran to version 9d * updated: cwebp to version 1.2.0 * updated: pngquant to version 2.13.1 = 6.0.3 = * fixed: syntax error on PHP 7.2 or less = 6.0.2 = * security: new version of PNGOUT available on settings page (if enabled) * added: compatibility with Phoenix Media Rename plugin * changed: Easy IO supports img tags with SVG images * fixed: bulk optimizer gives incorrect message about not enough credits for unlimited plans * fixed: db install workaround for MariaDB 10.4 bug * fixed: errors with custom db setups when DB_* constants are not defined * fixed: error with JS WebP when a class attribute with no value is encountered = 6.0.1 = * changed: more reliable Cloudflare detection for WebP delivery methods * fixed: lazy load for external CSS breaking div elements in JS/JSON * fixed: call to undefined function from Imsanity * fixed: database upgrade check triggers error on MySQL 8.0.17+ * fixed: delete originals tool is slow * fixed: wpdb error when attempting to run migration routine for fresh installs = 6.0.0 = * added: tool to delete originals from WP 5.3+ auto-scaling behavior (Tools menu) * added: JS WebP recognizes video elements added via JS (e.g. infinite scroll) * added: automatically convert GIF to PNG during new uploads, unless animated * added: JS WebP and picture WebP auto-detect configuration for S3 Uploads and WP Stateless * added: Lazy Load for external CSS and separate style blocks (div elements only for now) * added: Easy IO/CDN rewriting for Ultimate Member AJAX-powered activity wall * changed: settings UI revamped with wizard for first-time installs * changed: automatic PNG to JPG threshold lowered to 250kb * changed: extensions for WP_Image_Editor now disabled by default, use EWWW_IMAGE_OPTIMIZER_ENABLE_EDITOR constant to enable them * changed: JS WebP can be used with picture WebP + Lazy Load to support CSS background images * changed: better compatibility with Theia Smart Thumbnails * changed: Lazy Load auto-sizing will no longer decrease the image size, only increasing is allowed * changed: filter to include additional HTML element types via eio_allowed_background_image_elements filter for Lazy Load and Easy IO * fixed: compatibility between Easy IO and Autoptimize * fixed: Easy IO uses hard crop when constraining an image via a width/height found in the style attribute * fixed: Easy IO uses hard-coded wp-content/ and wp-includes/ paths in some cases * fixed: Easy IO not activating properly when plugin is activated network-wide for multi-site installs * fixed: database upgrade throws errors on MariaDB 10.4.x * fixed: WebP .htaccess error in Vary header rule * fixed: Easy IO doubles part of image URL when there are no thumbnails, but one is requested by a plugin or theme * fixed: Easy IO minifier breaks Beaver Builder * fixed: Lazy Load breaks Beaver Builder text editor * removed: JS defer with Easy IO, use SWIS Performance instead: https://ewww.io/swis/ = 5.8.2 = * security: improper nonce verification for Nextgen bulk optimizer initialization (minor severity) * changed: Easy IO verification performed via API for better reliability * fixed: Easy IO missing https availability for admin-ajax.php requests when home_url is using plain http * fixed: Easy IO silently fails to rewrite URLs when using CNAME with WP Offload Media * fixed: wp_lazy_loading_enabled filter should have 3 parameters * fixed: Easy IO shows alert for domain change when a non-default WPML language is active * fixed: JS WebP does not auto-detect WP Offload Media CNAME = 5.8.1 = * fixed: Easy IO parser has typo in $webp_quality variable = 5.8.0 = * added: SVG optimization, huge thanks to @samsk for making this happen! * added: WebP quality setting, changed default to 75 * fixed: Lazy Load and other front-end parsers breaks JSON-encoded img elements * fixed: Easy IO adds excess markup for images with height and/or width set to 'auto' * fixed: memory_limit check should be case-insensitive: g vs. G * fixed: PHP error during detection of Cache Enabler's WebP option * fixed: table upgrade routine error when primary key already exists * fixed: deleting files by always using realpath, props @ocean90 * fixed: Easy IO skips images in AJAX Load More requests = 5.7.1 = * added: alert on domain change for Easy IO, like if you clone from a production environment to staging * changed: Easy IO domain and plan_id refresh automatically when visiting settings page * changed: better JS WebP and WPBakery Page Builder compatibility * changed: restore savings gauge for network settings page * fixed: resize detection visible for editors, should be admin-only * fixed: (force) re-optimize not working with parallel mode * fixed: upload error when WP cannot load image editor = 5.7.0 = * added: cleanup tool if you no longer need local WebP copies of images * added: resizing results displayed in bulk & single optimization report * changed: The browser-native portion of the Lazy Load feature obeys the wp_lazy_loading_enabled filter * fixed: plugin tables do not have PRIMARY indexes * fixed: Third-party plugins sometimes set erroneous WebP quality values * fixed: Show Re-optimized Images lists images in reverse order * fixed: cannot skip to last page of re-optimized images * fixed: Scheduled Optimizer skips files that need scaling/resizing if they have already been compressed * fixed: Lazy Load placeholders not rewritten for CDN usage by Autoptimize and WP Offload Media Assets Add-on = 5.6.2 = * fixed: fatal error for undefined add_query_var = 5.6.1 = * changed: prevent unintentional image re-optimization from plugins with a threshold of 5x, indicate intential regen with ewww_image_optimizer_allowed_reopt filter * changed: include lazy load and WebP in optimization score * fixed: query paramaters added to videos via image_downsize filter * fixed: WP-CLI command triggers async queueing * fixed: WPML check skips too many images during bulk scanner * fixed: WP-CLI command options for FlAGallery and NextGEN using outdated code * fixed: re-optimization tracker not tracking = 5.6.0 = * added: if exec() is disabled, free cloud-based JPG compression will be enabled * added: tool to remove originals for converted images * changed: improved handling of WPML replicas in media library list mode and bulk optimizer * fixed: JS WebP, picture WebP, and Easy IO errors with WP Offload Media 2.4 * fixed: JS WebP cannot find local paths when WP_CONTENT_DIR is outside ABSPATH * fixed: Easy IO hard crops images when requested height/width is 9999 * fixed: Lazy Load and WebP parsers running on customizer preview pane = 5.5.0 = * added: GIF to WebP conversion with API and Easy IO * changed: plugin removed from disallowed list on WP Engine! * changed: disable Lazy Load auto-scale by defining EIO_LL_AUTOSCALE as false * fixed: async functions use of wp_die causes empty errors when wp_cron is run from WP-CLI * fixed: big image size filter throws error when other plugins run the filter with fewer than 3 parameters * fixed: styling broken for optimization info on Nextgen gallery pages * fixed: broken link for network admin settings from single-site plugins page = 5.4.1 = * fixed: Bulk Optimizer sticks on stage 2 when there are no images to optimize * fixed: transparency in PNG images with color type 0 or 2 not detected * fixed: transparency false positives for PNG images with color types 4 and 6 * fixed: lazy load skips img elements with unquoted src attributes * fixed: images converted by PNG to JPG (and friends) do not have restore links in library = 5.4.0 = * added: EXACTDN_DEFER_JQUERY_SAFE override for when inline scripts depend on jQuery * changed: code rewrite to validate output escaping, input sanitization, and markup on settings page * changed: use data-cfasync=false to prevent deferring inline JS WebP script * changed: Easy IO uses better query-string fall-back for plugins * changed: Easy IO enforces https if available rather than protocol-relative URLs * changed: resize detection ignores images smaller than 25px * changed: settings streamlined when using Easy IO * fixed: parallel optimization on multisite fails due to missing db prefix * fixed: error when saving JS WebP on network/multsite admin * fixed: images not resized when Media File Renamer is active * fixed: PHP warning while using WebP * fixed: Lazy Load, JS WebP and WebP have nested fall-back img elements if an image is found multiple times in a page * fixed: Easy IO mangles srcset URLs when src URL is relative instead of absolute * fixed: Easy IO URLs leaking into block editor for new uploads * fixed: WebP rewriting with WP Offload Media skips sub-domains of blog domain * deprecated: support for Image Store plugin (abandoned) = 5.3.2 = * added: defer jQuery also with EXACTDN_DEFER_JQUERY override * added: Lazy Load supports VC grid layouts retrieved via AJAX * fixed: Lazy Load and JS WebP prevent loading of images in oEmbed endpoint * fixed: jQuery exclusion was preventing deferral of jQuery extensions also * fixed: Lazy Load parsing Owl Lazy images * fixed: Easy IO adds srcset/sizes to feeds * fixed: filename in attachment metadata not updated for duplicate thumbnails after conversion success * fixed: notices for undefined variables during bulk optimize = 5.3.1 = * added: defer JS with Easy IO via EXACTDN_DEFER_SCRIPTS override * fixed: warning related to user-defined exclusions in JS and picture WebP * fixed: AMP compatibility for Lazy Load and WebP rewriters was broken * fixed: images not loading on WPURP/WPRM print recipe pages = 5.3.0 = * added: Easy IO replaces image URLs within style elements for page builders like Elementor and Divi * added: option to use tags for WebP rewriting * added: ability to define exclusions for JS WebP and WebP * added: include .webp images when using WP Offload Media to copy images from bucket to server * added: cleanup/migration tool for folks using EWWW IO 3+ years to remove old metadata entries * added: fetch original_image for optimization when local images are removed (WP Offload Media and Microsoft Azure Storage for WordPress) * changed: scheduled optimizer uses async/background mode to prevent timeouts * changed: images that exceed the max resize dimensions will be queued by the bulk scanner even if previously compressed * changed: for security, EWWW IO will only optimize images within the WP root folder, content folder, or uploads folder * changed: WebP Only mode will bypass the check for TinyPNG compression * changed: background/async mode uses better queueing system for speed and reliability * changed: image queue information moved to Tools page * changed: image re-opt troubleshooting moved to Tools page * fixed: noresize in filename has no effect when using Media File Renamer * fixed: debug_message() throws a warning with non-string values * fixed: notices when uploading animated GIFs using GD * fixed: notices when parsing JSON data from Envira * fixed: fatal error when a WP_Error is passed from Envira to Easy IO * fixed: executables could not be installed on Windows due to behavior of is_executable() on directories * fixed: Include All Resources rewrites wrong URLs when quotes are html-encoded * fixed: tags do not follow Lazy Load exclusions * fixed: tags broken when exluding images from Lazy Load * fixed: Azure storage plugin doesn't re-upload optimized images = 5.2.5 = * removed: data-pin-media attribute, as Pinterest is handling WebP images properly now = 5.2.4 = * fixed: data-pin-media attribute added to linked images incorrectly * fixed: images are not resized to max dimensions when using S3 Uploads plugin = 5.2.3 = * added: Easy IO sets pre-scaled image in data-pin-media for Pinterest * added: Envira Pro cache cleared when activating Easy IO * changed: improved compatibility layer with S3 Uploads plugin * fixed: background image lazy-loading could be interrupted by other plugins copying elements * fixed: JS WebP provides .webp images to Pinterest * fixed: JS WebP strips Pinterest data/meta attributes * fixed: Easy IO misses some images with Envira Gallery Pro layouts * fixed: missing www in domain prevents rewrites for Easy IO * fixed: JS WebP and Lazy Load parsing X/Pro theme admin pages = 5.2.2 = * added: automatic plan upgrade detection * changed: better compatibility with other implementations of "native lazy load" * updated: lazysizes.js to version 5.2 * fixed: custom domain for Easy IO prevents auto-scaling * fixed: full-width background images auto-scaled due to scroll bars * fixed: overrides for array-style exclusions not being applied = 5.2.1 = * changed: WebP rewrite rules hidden for Cloudflare-protected sites * fixed: Smart Re-optimize not working for PDF files * fixed: Easy IO detects wrong domain when using separate domains for site and content = 5.2.0 = * added: Lazy Load, JS WebP, and Easy IO support background images on link elements * added: JS WebP supports background images on section, span, and li elements * added: exclude images from Easy IO in settings * added: exclude images from Lazy Load by string or class name * added: prevent auto-scaling with skip-autoscale * added: Folders to Optimize, Folders to Ignore, Lazy Load Exclusions, Easy IO Exclusions, and WebP URLs can be defined as overrides (single value as string, multiple values as an array) * added: API key, JPG Background (for conversion only), and Disabled Resizes can be defined as overrides, see https://docs.ewww.io/article/40-override-options * added: PNG placeholders for Lazy Load retrieved direct from API for drastically reduced memory usage (API users only) * added: Smart Re-optimize option available on Bulk Optimizer if you want to re-optimize images that were compressed on a different setting * added: auto-restore for Smart Re-optimize when going from lossy to lossless mode * added: Restore & Re-optimize from Media Library to change individual images from lossy to lossless * added: search function for Optimized Images table (Tools menu) * added: table cleanup for database table (Tools menu) * fixed: errors due to duplicate ssl= arguments in URLs * fixed: JS WebP has incorrect selector for video elements (props @CharlieHawker) * updated: embedded help code for better debug prefill = 5.1.4 = * fixed: warnings on FlaGallery's manage gallery page * fixed: cwebp version test results in false-positives * fixed: EWWW IO resize limits are ignored when higher than WP default * fixed: PNGOUT warning during one-click conversion * fixed: WebP images not removed from remote storage when an attachment is deleted (WP Offload Media) * fixed: after running regen for single thumbs with Image Regenerate & Select Crop plugin, regenerated images were not automatically optimized = 5.1.3 = * added: better compatibility with Divi filterable grid images and parallax backgrounds * added: cleanup .webp and database records when using Enable Media Replace * fixed: Divi builder will not load with Easy IO and Include All Resources active * fixed: image cover block with fixed width scaled too much * fixed: PNG placeholders could use more memory than available * removed: Lazy Load CSS gradient for blank placeholders = 5.1.2 = * added: disable native lazy-load attributes with EWWWIO_DISABLE_NATIVE_LAZY * added: ability to choose LQIP or blank placeholders for lazy load * changed: renaming ExactDN as Easy IO * changed: default to blank placeholders with Easy IO * changed: regenerated images are automatically re-optimized after running Image Regenerate & Select Crop plugin * fixed: low-quality placeholders sometimes had larger dimensions than necessary * fixed: database records and .webp images are not removed when Image Regenerate & Select Crop plugin deletes a thumbnail * fixed: path traversal protection preventing normal files from optimizing * fixed: Slider Revolution dummy.png not properly handled by Easy IO = 5.1.1 = * fixed: no optimization when escapeshellarg() is disabled * fixed: warning thrown by implode() when JS WebP is enabled with no WebP URLs = 5.1.0 = * added: WebP-only mode for Bulk Optimizer * added: JS WebP Rewriting for pull-mode CDNs via WebP URLS without Force WebP * added: JS WebP Rewriting zero-conf for WP Offload Media * added: force lossy PNG to WebP conversion with EWWW_IMAGE_OPTIMIZER_LOSSY_PNG2WEBP override (set to true) * changed: bulk optimizer runs wp_update_attachment_metadata() in separate request to avoid timeouts * fixed: WebP warning regarding missing modules displayed even if green WebP test image is working * fixed: Nextgen bulk actions not working * fixed: unable to regenerate existing thumbnails with Image Regenerate & Select Crop plugin * updated: WebP (cwebp) binary to version 1.0.3 * updated: Pngquant binary to version 2.12.5 * updated: cwebp requires Mac OS X 10.14 * updated: FreeBSD 10 is EOL, version 11 is the supported/tested version = 5.0.0 = * added: use native lazy load attributes to supplement lazy loader and make placeholders more efficient * added: GCS sub-folder rewriting with ExactDN for cleaner URLs * added: option to optimize original versions of scaled images for WP 5.3 * added: ability to erase optimization history from Tools page * changed: define EWWWIO_WPLR_AUTO (any value) to enable auto-optimize on images from WP/LR Sync * changed: thumbnails could be converted even if original was not * changed: Show Optimized Images table moved to Tools menu * fixed: full-size image optimization not deferred if scaled by WP 5.3 * fixed: data-width and data-height attributes missing when JS WebP active * security: rewrote escapeshellarg() wrapper to be more secure = 4.9.3 = * fixed: ExactDN incorrectly scales Elementor background images rather than cropping * fixed: ExactDN cannot work with Divi/Elementor background images due to use of external CSS files * fixed: JS WebP rewriting picture tags that already have WebP markup in Force WebP mode * fixed: JS WebP incorrectly parses GIF/SVG images in Force WebP mode * fixed: JS WebP does not support lazy load + infinite scroll * fixed: Lazy Load auto-scaling breaks if background image is enclosed in encoded quotes * fixed: GRAND FlaGallery integration broken by hook suffix change = 4.9.2 = * fixed: generating lazy load PNG placeholders with large heights causes 500 errors * fixed: error when importing media via WordPress Importer plugin * fixed: error with WP/LR Sync = 4.9.1 = * fixed: error on settings screen when JS WebP is enabled = 4.9.0 = * added: Lazy Load background image support for section elements * added: ExactDN background image support for li,span, and section elements * added: lazysizes print plugin, enable via EWWW_IMAGE_OPTIMIZER_LAZY_PRINT constant * added: compatibility with upcoming Easy Image Optimizer * changed: automatic compression disabled during WP/LR Sync with admin notice * changed: Lazy Load PNG placeholders capped at 1920px wide to prevent errors * changed: use ExactDN, when active, for Lazy Load PNG placeholders * changed: EWWW_MEMORY_LIMIT renamed to EIO_MEMORY_LIMIT for setting plugin memory limit * fixed: WebP test image not refreshing after inserting .htaccess rules * fixed: errors when manually adding lazysizes script = 4.8.1 = * added: Lazy Load background image support added for span elements * changed: constrain by height for background images that are taller than they are wide * changed: debug.log moved to more suitable location * fix: Lazy Load breaks when an image has an empty class attribute * fix: regression that caused jpegtran and pngout tests to fail on Windows * fix: writing to debug.log causes errors = 4.8.0 = * added: ability to resize images outside media library via scheduled or bulk optimization * added: compatibility with WP Stateless for GSC * added: use ewww_image_optimizer_autoconvert_threshold filter to modify conversion threshold (default of 300kb) * changed: Lazy Load without ExactDN uses blank PNG placeholders for better srcset auto-sizing * changed: API backups taken prior to resizing/scaling rather than just before compression * changed: ExactDN + Lazy Load uses scaling rather than cropping by default * changed: prevent NextGEN backup images from being optimized * fixed: bulk optimizer not resuming when non-media library images remain in queue * fixed: notices when a user-selected admin theme is unavailable * fixed: privacy policy function triggers notices in WP-CLI * fixed: background-image attributes with single-quotes now supported by ExactDN, Lazy Load, and JS WebP * fixed: background-image attributes getting extra arguments with lazy load * fixed: On multi-site installs, site admins could add folders to optimize outside of the uploads folder * fixed: LQIP with SVG files results in duplicate requests * fixed: image optimization results in media library report file missing when using WP Stateless * fixed: plugin checking for 'nice' on Windows servers = 4.7.4 = * fixed: ExactDN modifies Autoptimize CDN setting even when Include All Resources is disabled * fixed: noscript elements with newlines being parsed incorrectly by Lazy Load and JS WebP * fixed: Lazy Load parsing breaking img elements in script blocks * fixed: Lazy Load and JS WebP bail when SVGs are wrapped in XML tags * fixed: ExactDN mixes x and w srcset descriptors * fixed: page parsers (ExactDN, Lazy, JS WebP) still fail to process some img elements that have unquoted src attributes = 4.7.3 = * added: disable WebP script block on certain pages by defining EWWW_IMAGE_OPTIMIZER_NO_JS as true * changed: use SVG inline image placeholder if width and height are known when LQIP is disabled or ExactDN is not available * changed: Lazy Load ignores images using browser-native loading attribute * fixed: page parsers (ExactDN, Lazy, JS WebP) do not properly handle attributes that start on a new line * fixed: page parsers do not recognize img elements with unquoted attributes * fixed: uninstaller cannot clear queue table due to undefined table name * fixed: implode throws notice when image sizes array is multi-dimensional * fixed: srcset url replaced incorrectly when using pixel density descriptors * fixed: srcset url added with 0 width when width attribute is empty = 4.7.2 = * changed: JS WebP no longer necessary with ExactDN * fixed: fatal error from NextGEN get_image_sizes() method * fixed: debugging mode gets stuck * fixed: ExactDN has unexpected results when content_width global equals zero * fixed: img elements with unquoted src attributes ignored by ExactDN, Lazy Load, and JS WebP = 4.7.1 = * added: CSS background image support for
  • elements * added: ExactDN + Lazy Load will auto-calculate dimensions for img elements without srcset/responsive markup * added: ExactDN parses thumbnail url for personalization.com + WooCommerce integration * added: ExactDN can use data-actual-width attribute for srcset generation * added: ExactDN + Lazy Load uses devicePixelRatio to provide clearer background images * fixed: Lazy Load for CSS background images misfires when display height is greater than width * fixed: visitors without JS see Lazy Load placeholder + fallback image = 4.7.0 = * added: lazy load (on ExactDN tab for now) * added: JS WebP supports background images via lazy load (div elements only for now) * added: ExactDN supports compression of background images (div elements only for now) * added: compat with Google Cloud Storage via WP Offload Media * added: automatic PNG to JPG conversion for ExactDN * added: ExactDN parsing for legacy WooCommerce API (current API works as-is) * changed: responsive image 'sizes' attribute can be auto-calculated by lazy load * changed: JS WebP no longer requires jQuery * changed: ExactDN srcset multipliers include fullscreen value of 1920px * changed: force resize function to ignore filesize with ewww_image_optimizer_resize_filesize_ignore filter * changed: prevent .php script/style generators from going through ExactDN * changed: ExactDN sites can dismiss exec notice to disable local compression * changed: automatic compression disabled during WooCommerce regen with admin notice * changed: use wp_resource_hints filter to include ExactDN dns-prefetch earlier in the page header * changed: gather debugging information on settings page even when debugging is not enabled yet * fixed: Bulk Optimize scanner does not update queue in some cases * fixed: ExactDN does not handle themes that support wide and full-screen images in block editor * fixed: ExactDN constrains images to 640px in Twenty Nineteen theme * fixed: ExactDN mangles Flatsome lazy load placeholder image URL * fixed: empty attributes not recognized properly by HTML parser, resulting in broken markup * fixed: table nav button styling broken in WP 5.1 * fixed: ExactDN applies resizing args during image_downsize() even when full/original image is too small * fixed: animated GIF resizing breaks the use of image_resize_dimensions filter in WP_Image_Editor_GD * fixed: NextGen bulk optimizer unable to decode meta_data = 4.6.3 = * changed: folders to ignore setting applies to resizing also * fixed: lazy load placeholders have inconsistent URLs with ExactDN * fixed: bulk resume indicator gets stuck * fixed: bulk scanning queue gets out of sync and skips images * fixed: async processing does not handle memory limit specified in G (gigabytes) = 4.6.2 = * changed: API key may be defined as EWWW_IMAGE_OPTIMIZER_CLOUD_KEY * fixed: if img tag is missing dimensions, ExactDN sometimes loads original rather than existing thumbnail * fixed: TinyPNG/TinyJPG images skipped when Force Re-optimize is checked = 4.6.1 = * added: automatic configuration for ExactDN + WP Offload Media * fixed: bulk action from media library skipping last attachment in selection * fixed: uninstall function throws fatal error preventing deletion = 4.6.0 = * added: preserve animations in GIF images during resize operations for sites using Imagick extension * changed: EXACTDN_EXCLUDE applies to all resources, including images, CSS, JS, fonts, etc. * changed: API/ExactDN preserves color profiles, even when removing image metadata * changed: new queue table for bulk optimizer to avoid exceeding max packet size for MySQL * changed: unit tests run on PHP 7.3 also * fixed: too many settings updates when trying to prevent slow queries * fixed: ExactDN rewrites urls to static HTML files * fixed: ExactDN skips 1x url in some cases, causing browser upscaling * fixed: PHP notice when EXACTDN_EXCLUDE is defined * fixed: race condition in Alt WebP prevents Webp derivatives from replacing the originals = 4.5.3 = * fixed: ExactDN duplicates srcset instead of replacing it * security: remote code execution, low exposure = 4.5.2 = * added: automatic migration to move image paths from absolute to relative * changed: default quality for PNG to JPG did not match WordPress default * fixed: legacy absolute paths not matched during bulk scanner when relative matching is enabled * fixed: PNG to JPG auto-convert produces larger JPG images in some cases = 4.5.1 = * changed: optimization results are tracked by relative urls instead of absolute ones for better portability, migration tool coming soon * changed: ExactDN defaults to crop when explicit dimensions are given to image_downsize(), revert to scaling with EXACTDN_IMAGE_DOWNSIZE_SCALE * fixed: WooCommerce thumbnail regeneration triggers excessive admin-ajax requests within EWWW IO * fixed: ExactDN filtering REST API media endpoint for Gutenberg editor requests * fixed: ExactDN adding unneeded resize parameters to full-size image urls * fixed: Alt WebP skipping images with query strings * fixed: Alt WebP not working with Jetpack Lazy Load for images missing srcset * fixed: Show Optimized Images table does not display images saved to ewwwio_images table with relative path matching * fixed: Show Optimized Images table has broken thumbs when WP_CONTENT_DIR is outside of ABSPATH = 4.5.0 = * added: Alt WebP supports BJ Lazy Load, a3 Lazy Load, WP Rocket Lazy Load, Jetpack Lazy Load, and WP Retina Lazy Load * added: ExactDN rewrites relative image urls that start with a single slash * changed: ExactDN srcset markup for smaller images improved * fixed: errors during upload/download with WP Offload Media * fixed: Alt WebP refuses to process page when FB tracking pixel is present * fixed: SVG files within tags throw errors with ExactDN * fixed: thumbnail generation fails with S3 Uploads plugin * fixed: unable to modify WebP conversion option when ExactDN is enabled * fixed: ExactDN inserts full-size image without arguments * removed: PHP 5.5 no longer supported = 4.4.2 = * added: notice for Pantheon users that an API key is required * added: ExactDN fully supports protocol-relative urls for non-image resources * changed: better lazy load support in ExactDN * fixed: optimization failure produces rename() errors * fixed: folder scanner ignores files with no extension * fixed: Alt WebP blocks on Facebook tracking pixel * fixed: ExactDN srcset functions cause duplicate image requests with zoom=1 * fixed: ExactDN srcset fill adds double arguments to urls * fixed: srcset fill generates notices with non-numeric widths * fixed: bulk scanner stuck in resume mode with nothing to do = 4.4.1 = * fixed: ExactDN srcset fill replaces images with first image on page = 4.4.0 = * added: preserve animations in GIF images during resize operations * added: ExactDN will fill in srcset/sizes attributes for all images based on detected width for better mobile support * added: configuration options in the settings page for several "hidden" ExactDN options * changed: Alt WebP still depends on jQuery, but jQuery can be loaded in async or defer mode * changed: Remove Metadata option has been renamed, if you previously had it configured as an override (JPEGTRAN_COPY), please use the new name: EWWW_IMAGE_OPTIMIZER_METADATA_REMOVE * changed: ExactDN uses premium compression by default * fixed: regression with ExactDN and max-width style attributes * fixed: WP esc_url mangles ExactDN urls * fixed: WebP images missing from S3 when using WP Offload S3 * fixed: PDF uploads with S3 Uploads plugin * deprecated: PHP 5.5 support will be removed in the next major release (version 4.5) * removed: PHP 5.4 no longer supported = 4.3.2 = * changed: prevent dynamic JS/CSS urls within wp-admin/ from being rewritten by ExactDN * fixed: auto-convert PNG to JPG was running on images with transparency * fixed: Alt WebP broken on sites that have jquery-migrate disabled = 4.3.1 = * fixed: fatal error on older WP versions due to missing privacy policy function = 4.3.0 = * added: Alt WebP enables instant conversion with ExactDN, no need for bulk optimize * added: links within settings and other notices for contextual help * added: auto-convert large PNG images to JPG during upload, define EWWW_IMAGE_OPTIMIZER_DISABLE_AUTOCONVERT to skip * added: use file modification time to add query strings on JS/CSS files for cache invalidation on ExactDN * added: use EXACTDN_EXCLUDE in wp-config.php to bypass ExactDN for JS, CSS, etc. * added: NextGEN image urls properly rewritten for ExactDN * added: NextGEN dynamic thumbs included during manual/bulk optimization * added: auto-installer for Cloud plugin when running EWWW IO on a "banned" webhost * added: suggested privacy policy text for users of the API and ExactDN * added: detect wordpress.com sites and disable exec function and binaries * changed: resizing uses the primary media dimensions unless the "other" dimensions are configured * changed: Resize Other Images removed from GUI, configure via Overrides tab * changed: filter NextGEN quality to prevent oversized thumbs * changed: allow crop via filter even when one dimension is the same as the original * changed: auto-rotate function disabled with EWWW_IMAGE_OPTIMIZER_DISABLE_AUTOROTATE * changed: one-click copy for debug info, and debug collapsed by default in media library and bulk results * changed: bulk operations for batches of NextGEN images now use the bulk optimizer page instead of loading inline * fixed: thumbs not generated during WP/LR Sync * fixed: uploading images in the Gutenberg editor uses the wrong resize dimensions * fixed: unique filename function producing names with a hyphen and no digits * fixed: encoded ampersands within the path portion of a url prevent ExactDN parsing * fixed: entering a decimal for bulk delay does nothing * fixed: if urls on a localized WPML domain are using the default domain, ExactDN ignores them * fixed: toggle for plugin status and bulk status generate admin-ajax.php 403 errors * fixed: PNGOUT installer confirmation notice was missing * deprecated: PHP 5.4 support will be removed in the next major release (version 4.4) = 4.2.3 = * added: skip resizing for images with noresize in the filename * added: notice about plugins that remove query strings when ExactDN is active * changed: cache busting for ExactDN uses theme directory modified time with fallback to EWWW IO version * fixed: exactdn test verification attempts to access WP_Error as an array = 4.2.2 = * added: view pages with ExactDN or the entire plugin disabled via GET paramaters: ewwwio_disable and exactdn_disable * changed: moved to v2 quota endpoint for API * changed: S3 uploads no longer deferred until after optimization by default, define EWWW_IMAGE_OPTIMIZER_DEFER_S3 as true to override * changed: image editor extensions can be disabled separately from media library optimization via EWWW_IMAGE_OPTIMIZER_DISABLE_EDITOR * changed: use exactdn url instead of standard API url for verification simulation and fallback * fixed: async test outputs unescaped html on settings page when debugging enabled * fixed: debugging uses extra memory when dumping output to file * fixed: json_encode dies silently when passing non-utf8 data, results in AJAX/bulk errors * fixed: disabled auto-optimization bypassed for resizes when max dimensions are set * fixed: NextGEN support disabled for version 3 * fixed: progressbar color does not match admin theme for NextGEN/Nextcellent * fixed: optimization details overlay styling missing for NextGEN with some locales * fixed: FlAGallery batch optimization from Manage Galleries/Images broken * fixed: undefined variable notices for resize detection and forced re-optimization * updated: PEL library for maintaining metadata during JPG auto-rotation = 4.2.1 = * fixed: EXACTDN_LOCAL_DOMAIN does not work with auto-verification * fixed: uncaught error during upgrade when 'SHOW FULL COLUMNS' fails * fixed: async simulation gets 403 error = 4.2.0 = * added: disable ExactDN attachment ID queries if they take too long * added: ExactDN compatibility with a3 Lazy Load * added: ability to re-test async/background mode if it gets disabled * changed: better compatibility between Autoptimize and ExactDN * changed: .webp files removed when restoring original from API * changed: Force re-optimize checkbox persists up to an hour if bulk optimizer is interrupted * fixed: CSS, JS, and other resources could be skipped by ExactDN in certain circumstances * fixed: Jupiter theme captcha incompatible with ExactDN * fixed: prevent calls to php_uname when it is disabled * fixed: MacOS X installer for PNGOUT * fixed: prevent notices due to empty output from exec() * fixed: ExactDN fails to crop when image_downsize() is called with explicit dimensions * fixed: ExactDN breaks image resizing with Themify themes * fixed: multi-site settings throws error during submission when ExactDN is active * fixed: single-site override option displayed when plugin activated per-site * removed: PHP 5.3 no longer supported = 4.1.3 = * fixed: infinite loop when removing invalid API key * fixed: img elements with incorrect attachment ID being replaced with wrong image src * fixed: ExactDN CSS and JS parsing incompatible with Autoptimize = 4.1.2 = * added: detect WP Fastest Cache WebP rewrite rules * added: notice if WebP conversion enabled but mod_rewrite or mod_headers is missing * added: better debugging when background/async mode is blocked * changed: CSS/JS files are filtered pre-emptively by ExactDN to avoid quirks with emoji scripts * fixed: warning during wp_cron for undefined constant * fixed: invalid or expired keys would still attempt optimization * fixed: WebP files are orphaned when using Media File Renamer * deprecated: PHP 5.3 will no longer be supported in 4.2 * deprecated: PHP 5.4 support will be removed by July 2018 * deprecated: PHP 5.5 support will be removed by October 2018 = 4.1.1 = * added: reduce ExactDN load time by suppressing db queries with EXACTDN_PREVENT_DB_QUERIES * added: $fullsize indicator added to pre/post optimization hooks, props Schweinepriester * fixed: missing www preventing rewrites for ExactDN * fixed: Alt WebP compatibility with Tatsu page builder * fixed: relative path support not working properly for Pantheon users * fixed: missing directories prevent optimization of S3 files = 4.1.0 = * SECURITY: gifsicle and optipng have been updated to address security flaws * added: full compatibility with Image Watermark plugin * added: dummy images for Essential Grid and Layer Slider whitelisted with ExactDN * added: compatibility with Visual Composer and Essential Grid async/AJAX loaders * added: compatibility with Media File Renamer * changed: ExactDN rewrites all wp-content and wp-includes urls by default * changed: mime-type detection function does not rely on fileinfo extension anymore * changed: Solaris/SunOS binary builds use OpenIndiana 2017.10, let me know if they break * fixed: wp-emoji script not rewritten by EXACTDN_ALL_THE_THINGS * fixed: resize detection script throws error when admin bar is hidden * fixed: warnings when WP Offload S3 set to delete local files, props ianmjones * updated: pngquant version 2.11.7 = 4.0.6 = * changed: dummy images have no args appended with exactdn except for ssl flag * fixed: resize_detection.js being combined with other scripts by Autoptimize * fixed: retina optimization not deferred in async mode * fixed: PDF files could trigger license exceeded message * fixed: binary detection not fully functional with MacOS and PHP 7.2 * fixed: compatibility with Regenerate Thumbnails version 3 = 4.0.5 = * added: enable lossy compression with ExactDN: https://docs.ewww.io/article/47-getting-more-from-exactdn * added: CSS/JS minification with ExactDN, see https://docs.ewww.io/article/47-getting-more-from-exactdn * added: disable WebP for specific files with ewww_image_optimizer_bypass_webp filter * added: ExactDN obeys focus point from Theia Smart Thumbnails plugin * added: admin-ajax requests for eddvbugm loader work with ExactDN * fixed: multisite settings would not save in certain circumstances * fixed: compression levels reset for API users on multisite after toggling single-site override on and off * fixed: media library items with non-local images rewritten incorrectly by ExactDN * fixed: restoring images throws errors on PHP 7.1 * fixed: has_cap with invalid argument not recognizing utf8-mb4 v5.2 = 4.0.4 = * fixed: ExactDN domain validation failing on length check for some domains * updated: PEL for better EXIF preservation = 4.0.3 = * added: support for additional ExactDN root domains * added: button to remove WebP rewrite rules * added: informational notice on thumbnail rebuild pages of how the plugins interact * changed: WebP rewrite rules removed automatically when ExactDN is enabled, use Alt WebP instead * changed: ExactDN now removes metadata if option is enabled * fixed: multisite settings set to defaults when single-site resize settings are submitted = 4.0.2 = * fixed: WooCommerce images still not working with Alt WebP in all cases * fixed: ob_clean() breaks AJAX actions when there is no buffer to clean * fixed: notice on NextCellent gallery management pages * fixed: missing JS for AJAX actions in NextCellent = 4.0.1 = * fixed: ExactDN option not disabled when verification fails too many times * fixed: theme scanner sometimes skipped images on PHP 5.3 * fixed: invalid (float) width parameters for srcset attributes * fixed: Jetpack lightbox and carousel were not fully working with Alt WebP * fixed: WooCommerce lightbox and gallery not working with Alt WebP * fixed: incorrect message about scanning scope when selecting images from media library for bulk optimization * security: fixed wildcard LIKE queries to allow proper escaping = 4.0.0 = * added: ExactDN with CDN and automatic image resizing * added: image resize detection for admin users * changed: WP core, theme, and plugin images are excluded from lossy optimization * fixed: files fetched from S3 not detected by PHP in some cases * fixed: option override conflict preventing webp conversion * fixed: Alt WebP breaks Draw Attention image maps * fixed: customized WP_Background_Process class conflicts with other plugins using the same class * fixed: image deletion could cause deletion of images on source site after cloning database * fixed: WebP .htaccess rules using REQUEST_FILENAME instead of REQUEST_URI does not work on some servers * fixed: per-site resize settings hidden when API is active network-wide * fixed: network-wide settings not saving properly * fixed: notice of undefined index with some configurations of the Shield security plugin * deprecated: PHP 5.3 support will be removed by March 2018 = 3.6.1 = * fixed: bulk optimizer fails to initialize if the bulk_attachments array is set to an empty string * fixed: misplaced parenthesis breaks option overrides = 3.6.0 = In an effort to simplify the settings page and make room for new features, many settings have been "hidden" and/or rearranged. It is my hope that this will make it easier for new users to get going with EWWW IO. You can find more information about overriding options in the [Documentation](https://docs.ewww.io) * added: ability to override any boolean/integer options by defining constant of the same name * added: debug information included automatically with help beacon requests when debugging is enabled * added: use wp_raise_memory_limit (WP 4.6+) to avoid memory issues * added: use wp_is_ini_value_changeable (WP 4.6+) to avoid errors when raising max_execution_time * added: notice to use cloud version on Kinsta sites * changed: Better Lossless and Maximum Lossless have been combined for PNG images with more intelligent usage of advpng on the API * changed: resize settings moved to new tab * changed: various options have been removed from the settings page, but are still available via constants, see removals * changed: bulk optimizer will auto-adjust settings if an image fails to optimize * changed: bulk scanner will go into fall-back mode if the normal mode is too slow or if the image table takes longer than 5 seconds to load * changed: images previously compressed by TinyPNG/JPG will be skipped during bulk optimization * fixed: Optipng not working properly on Windows servers. * fixed: notice on settings and bulk pages when debug mode is disabled * removed: ewww_image_optimizer_delay (Bulk Delay), can be selected on the bulk page instead * removed: ewww_image_optimizer_optipng_level (OptiPNG level) option * removed: ewww_image_optimizer_pngout_level (PNGOUT level) option * removed: ewww_image_optimizer_disable_pngout (Disable PNGOUT) option * removed: ewww_image_optimizer_skip_size (Skip Small Images) option * removed: ewww_image_optimizer_skip_png_size (Skip Large PNG Images) option * removed: ewww_image_optimizer_lossy_skip_full (Exclude full-size images from lossy optimization) option * removed: ewww_image_optimizer_metadata_skip_full (Exclude full-size images from metadata removal) option * removed: ewww_image_optimizer_skip_bundle (Use System Paths) option = 3.5.1 = * added: optional help beacons on bulk and settings pages * added: disable deferring of WP Offload S3 uploads with EWWW_IMAGE_OPTIMIZER_NO_DEFER_S3 * added: override use of wp_add_inline_script with non-standard jQuery by defining EWWW_IMAGE_OPTIMIZER_WEBP_INLINE_FALLBACK * fixed: javascript for bulk optimizers in NextGEN, NextCellent and FlaGallery = 3.5.0 = * added: compatibility with S3 Uploads by Human Made * added: MediaPress uploads fully optimized on upload * changed: WebP .htaccess rewrite rule verifier more flexible * changed: WebP .htaccess rewrite rules allow appending type=original to access non-WebP image * changed: if an image is too small for resizing, but the dimensions in the metadata are incorrect, it will attempt to update them * fixed: fatal error if image metadata cannot be read by PEL * fixed: WebP .htaccess rewrite rules work better on LiteSpeed * fixed: WP Symposium integration using old options, scanner now includes avatars folder by default = 3.4.1 = * added: move the Alt WebP script to an external resource by defining EWWW_IMAGE_OPTIMIZER_WEBP_EXTERNAL_SCRIPT * changed: API keys are partially revealed, for easier verification * changed: API key no longer uses password field to avoid problems with auto-fill * changed: API key activation raises JPG and PNG to lossy and enables backups * fixed: bulk delay setting not carried over to bulk optimizer * fixed: WP Offload S3 uploads images prior to background optimization, resulting in a second upload afterwards * fixed: single-site settings override not saving in certain cases on multisite * fixed: AMP pages are broken when Alt WebP is enabled with old versions of libxml (less than 2.8.0) * removed: unnecessary call to WP Offload S3 update function after optimization = 3.4.0 = * added: optional usage tracking * added: close sessions even earlier in background/async handling to prevent lock-ups * added: multisite option to network activate and allow individual site configuration * changed: disabling resizes must be done on individual sites even when network activated * changed: PNG files with empty alpha channels can be converted to JPG without setting a background/fill color * fixed: webp migration script sending wrong nonce variable * fixed: wp-cli help text was not being parsed properly * updated: bundled cwebp to version 0.6.0 * updated: bundled pngquant to verision 2.9.1 (2.8.1 for Windows) * deprecated: cwebp will not be updated for Mac OS X 10.9 past 0.5.1 * obsoleted: FreeBSD 9 and CentOS 5 are "End of Life" and will no longer be tested = 3.3.1 = * added: alt webp supports Jetpack Carousel for image galleries * added: hard crop images during resizing using ewww_image_optimizer_crop_image filter * changed: plugin status on settings revamped to rely less on javascript * fixed: regression with scheduled optimizer scanning causing timeouts * fixed: alt webp compatibility with Divi Builder in Visual mode = 3.3.0 = * added: optional image backups for API users, restore images from bulk optimize, or media library list view * added: relative file location support, automatically enabled for Pantheon, use EWWW_IMAGE_OPTIMIZER_RELATIVE and EWWW_IMAGE_OPTIMIZER_RELATIVE_FOLDER to enable elsewhere * added: filename as second parameter to ewww_image_optimizer_resize_dimensions filter * added: prevent accidental regeneration of an image resize with the built-in WP_Image_Editor, disable by defining EWWWIO_EDITOR_OVERWRITE * changed: JPG quality setting applies to WebP generation also * changed: retina images can be processed in background * changed: prevent sleep() and print_r() from running when disabled * changed: entire ewwwio_images table no longer loaded into memory when running bulk operation on small batches of images, or when the table is too large * changed: when resize optimization is disabled, Include Media Folders is disabled to prevent optimization of disabled sizes * changed: Swedish translation moved to wp.org * changed: permissions check uses is_readable() and is_executable() instead of requiring 755 permissions * changed: requires at least PHP 5.3 * fixed: WP_Image_Editor integration was not disabled when using Regenerate Thumbs plugin, resulting in disabled resizes being ignored, and optimization not being backgrounded properly * fixed: Media Library Plus actions triggered optimization too early, preventing background optimization. * fixed: settings page would not load on very large multisite installs (1,000+ blogs) because of too many queries for total savings achieved * fixed: background optimization not working properly on multisite installs * fixed: imported attachments queued multiple times when plugins like Facebook Events Importer use media_sideload_image() * fixed: notice when clearing queues * fixed: when a background process is running, queues repopulate even after clearing all items * fixed: WP-CLI not dropping to low memory mode in constrained environments, causing incomplete scans * fixed: nextgen not showing optimization stats * fixed: proper i18n for strings that could contain singular and plural numbers * fixed: bulk scanner could skip images that need optimization when in 'low memory' mode * fixed: all JPG images down-sampled when only one of max height or max width is set * fixed: permissions error on tool folder cause media grid to appear empty * fixed: fatal error when both EWWW I.O. plugins are activated * fixed: edited images show active and backup compression results in media library = 3.2.7 = * added: function to remove duplicate records from the ewwwio table when doing a bulk scan or re-optimizing an image * changed: zero-byte files skipped during bulk scan instead of during optimization * changed: exec() check rewritten, please report any errors right away * fixed: plugin status shows All Clear even though exec disabled and warning is displayed = 3.2.6 = * changed: time elapsed test now runs every 10 attachments * fixed: time elapsed test during bulk scan was not running every X number of images * fixed: scan was not returning results directly after detecting a broken attachment * fixed: maximum number of rows for ewwwio_images was not high enough, bumped to 4 billion * fixed: db migration function was not linking records to attachments properly = 3.2.5 = * fixed: converting PNG to JPG with GD did not properly convert resizes * fixed: broken attachment metadata could halt the bulk scanner * fixed: background optimization running when sleep is disabled = 3.2.4 = * changed: when license has been exceeded, visiting the settings page flushes the license cache * fixed: warnings for illegal string offsets * fixed: regression with the dreaded duplicate key name * fixed: scheduled optimization could run during bulk optimization, causing unexpected results = 3.2.3 = * added: image linker for media images optimized using scheduled optimizer or the old Scan and Optimize * added: low memory mode for bulk scanner with notice to user * added: ability to manually configure how much memory is available using EWWW_MEMORY_LIMIT constant * added: variable query counts depending on available memory * added: ability to view and remove debug.log from settings page * added: ability to manually disable background optimization using EWWW_DISABLE_ASYNC constant * changed: check every 100 images during scan to avoid timeouts and memory errors * changed: additional folder scanner can stop & resume mid-folder * fixed: bulk scanner updates timestamps when it should not * fixed: special characters are mangled during database insert on some systems * fixed: pending images that were already optimized were not cleared from queue * fixed: images with invalid updated dates in database corrected * fixed: images that should be excluded from optimization were still queued even though they would not be optimized * fixed: results column was too short, causing bulk optimization to get stuck on an image that was previously optimized * fixed: if two different attachments reference the same image, duplicate records could be inserted into database during media scan = 3.2.2 = * added: estimated time remaining on bulk optimize * added: 'ewww_image_optimizer_image_resized' hook added right after resizing, before original is overwritten * changed: image resizing is performed before any thumbnails are generated for reduced resource usage * fixed: compatibility with Azure storage plugin * fixed: bulk optimization not playing nice with WP Offload S3 * fixed: optimization results for resized original not displayed when using Imsanity * fixed: bulk optimization not working for utf-8 filenames - credit to devsporadic on github * fixed: retina paths not tested correctly in some odd cases * notice: FreeBSD 9 is EOL, version 10.3 is now the currently supported version * notice: RHEL 5 and CentOS 5 will be EOL at the end of March, at that point version 6 will be the lowest supported version * removed: generating full-size retina image automatically when resizing images and WP Retina 2x Pro detected = 3.2.1 = * fixed: really old versions of PHP (less than 5.5) cannot cope with using empty() on a function return value * fixed: queue of images not reset when reloading bulk page = 3.2.0 = * added: option to ignore folders when optimizing * added: ability to disable optimization or creation for any or all previews of PDF files in WordPress 4.7 * added: optimization results detail for all resizes of an image in media library list view * added: automatic metadata rebuilding for broken image attachments in media library during bulk scan * changed: bulk optimizers for media library and everything else have been merged * changed: bulk optimization processes images in batches for fewer AJAX requests to your server * changed: tool locations saved for the duration of a request to improve optimization speed * changed: optimization results no longer stored in attachment metadata * changed: populating list of optimized images during scan uses less memory * changed: obsolete options removed from database * changed: if scan is interrupted, it will automatically retry * changed: excessive re-optimization warning ignores theme and plugin images * changed: if full-size image is converted, all resizes, custom sizes, and retina images will be converted * changed: conversion will not inject extra numbers if possible * changed: image results message generated on demand to avoid stale results * removed: ability to use the ImageMagick 'convert' binary, use Imagick extension for PHP instead * removed: unoptimized images page, bulk scanner is now able to accomplish the job more accurately * fixed: parallel mode prevents successful conversion * fixed: removing API key on multisite did not fallback to local mode properly * fixed: pngout enabled after API key removed * fixed: image paths with special characters stored incorrectly in database * fixed: parallel optimization for retina and custom sizes was missing parameters * fixed: bulk optimizing a single image was broken, but who does that anyway? * fixed: notice when LIBXML_VERSION is undefined and alt webp is enabled * fixed: invalid default value for timestamp in db records * fixed: one-click optimization returns no error when running out of API credits * fixed: background mode was not checked properly in nextgen and flagallery functions * fixed: incorrect mimetype set after image conversion for PNG2JPG * fixed: using getimagesize on pdf files = 3.1.3 = * added: settings which require validation display appropriate errors when validation fails * added: filter to make sure test images in the ewww-image-optimizer folder never get optimized * fixed: optimizing "other" images with wp-cli was broken = 3.1.2 = * added: ability to disable background optimization via ewww_image_optimizer_background_optimization filter * changed: scan and optimize rewritten to store images in batches, with auto-retry for very large sites * changed: folders to optimize validator will attempt to fix relative paths and urls * changed: conversion operations are not run in background, override with ewww_image_optimizer_defer_conversion filter * changed: reverted Alt WebP support for lazy load, as it does not work consistently * changed: cache query results for excessive reoptimization up to an hour * fixed: ensure disabled resizes are not optimized during Enable Media Replace uploader * fixed: images were not optimized after editing with Post Thumbnail Editor * fixed: bulk operation handles attachment ID as a string instead of an integer * fixed: bulk optimizing a single image displays no results * fixed: bulk optimizing images with corrupted metadata does not result in a repair operation * fixed: image scanner skips optimized metaslider images even if they have changed * fixed: scan and optimize includes file types that are disabled = 3.1.1 = * fixed: exec() notice surpressed when it should not be = 3.1.0 = * added: warning when excessive re-optimizations have been detected * added: Alt WebP supports lazy loading in Hueman theme * added: Alt WebP supports Lazy Load plugin and Cherry Lazy modifications * added: Alt WebP supports BJ Lazy Load plugin * added: Alt WebP supports Retina Lazysizes * added: ability to defer resizing of uploaded image using ewww_image_optimizer_defer_resizing filter, "other" dimensions will apply regardless of upload method * changed: wp_image_editor integration does not use background optimization, reverting to inline processing, holler if you want it back * changed: all scripts have proper version numbers to avoid caching issues * changed: inline webp script moved to head element to work better with lazy loading * changed: optimized Alt WebP code for smaller size = 3.0.2 = * fixed: fatal error running empty() on a constant in PHP less than 5.5 = 3.0.0 = * fixed: resizes not checked for existence before calling parallel/async optimization, causing the process to stall * fixed: background optimization disabled when settings are saved * fixed: regression in db upgrade function throws warning on plugin upgrade * fixed: alt webp breaks Slider Revolution's lazyload when dummy.png.webp exists * fixed: background optimization for nextcellent was incomplete * fixed: notices under Manage Gallery for nextcellent when tool constants were not defined * changed: one-click actions in Media Library don't require reload, now possible to optimize several images at the same time * changed: API quota check no longer requires a verification on every attempt * changed: webp settings moved to separate tab * added: forced webp mode, to generate webp for every image, regardless of final filesize * added: in forced webp mode, must specify allowed url patterns for rewriting = 2.9.9 = * fixed: broken uploads with W3TC CDN option enabled * fixed: warning when scanning Meta Slider metadata for images * fixed: should not check for 'nice' when exec() is disabled * fixed: notices for 'nice' when exec() output is empty * fixed: wp-cli command skipping pdf files * added: ability to view API history at https://history.exactlywww.com/ * added: abiltiy to disable set_time_limit() function with EWWW_IMAGE_OPTIMIZER_DISABLE_STL constant * added: plugin now on GitHub https://github.com/nosilver4u/ewww-image-optimizer * changed: removed baseline JPG encoding trial, since progressive compression is almost always smaller, and is always more desirable from a UX perspective * updated: cwebp version 0.5.1 = 2.9.8 = * fixed: also disable parallel mode iternally if background testing is not successful * fixed: fatal error when WP Retina 2x is enabled with EWWW's parallel mode * fixed: parallel opt would hang if resizes were missing * fixed: prevent background test from accidentally spawning more tests * fixed: background test stuck in queue indefinitely if it didn't succeed = 2.9.7 = * fixed: cached value for multisite uploads directory incorrect on some sites * fixed: retina/hidpi images required separate async task with parallel optimization * fixed: retina function would try to run an async optimization even if the file didn't exist * fixed: one-time convert links (like JPG2PNG) from Media Library not working when Parallel mode enabled * fixed: images with transparency were being converted if PNG2JPG enabled regardless of JPG background setting when using API * fixed: mime-type meta for resizes updated on conversion and restoration * fixed: resizes were being checked, even if no filename was available * added: thread limit for parallel optimization, set to 5, can be modified by filter * added: filter to modify timeout for parallel optimization * added: filter to disable (or modify) the suffix added to converted images * added: debugging page to view and clear background optimization queues (must have EWWW's debug setting enabled) - under Media menu * changed: parallel mode only enabled if using API or your images have more than 5 resizes each * changed: background mode only enabled if background test succeeds (on plugin upgrade) * changed: file types with disabled optimization no longer included in unoptimized image counts = 2.9.6 = * fixed: set_time_limit() was still being called in a couple spots even if set_time_limit() is disabled by PHP * fixed: regression in scheduled optimization which allowed multiple processes to run * fixed: total savings for multisite was incorrectly requerying site 1 for each blog * fixed: optimization being attempted via API even if license exceeded * added: ewwwio_images table is checked on settings page to make sure it exists * added: run utf8_encode() on all filenames for Scheduled Optimize and Scan & Optimize to avoid database update issues, please report any new issues with Scan & Optimize right away = 2.9.5 = * fixed: wrong path pre-pended using parallel optimization and wp-content or uploads folder is not within the WP root * fixed: absolute paths passed to async optimization are pre-pended with ABSPATH * fixed: Bulk Optimize excluding images from count based on wrong option (disabled generation vs. disabled optimization) * fixed: timeouts during Media optimize could corrupt metadata, added routine to rebuild the meta on re-optimization * changed: running out of API credits puts the verification function to sleep for up to 5 minutes * added: extra checks to make sure the Background/Async objects are properly initialized before using them = 2.9.4 = * fixed: permissions after optimization are different than what WP core uses and falls back to umask on unixy systems * fixed: API server address not re-fetched properly when cache expires * changed: Parallel Optimization no longer ON by default = 2.9.3 = * fixed: sorry, missed a session locking operation (manual optimize) = 2.9.2 = * changed: priority level of Alt WebP Rewriting so that pages do not get un-minified after Autoptimize runs * fixed: async requests for parallel optimization had an empty user agent * fixed: uploads broken because start_session() locks all async processes = 2.9.1 = * changed: full paths are not POSTed to avoid Local File Inclusion blocks put in place by various security plugins (Wordfence & Shield) * fixed: reduced number of database queries during parallel optimization * fixed: undefined methods for BFI thumb editor class * added: detect Shield's Lock to Location feature and disable background/parallel operations = 2.9.0 = * added: parallel optimization for Media uploads (original and resizes are done concurrently), turn off under Advanced if it affects site performance * added: allow resize dimensions to be filtered: https://ewww.io/2016/07/05/changing-the-dimensions-for-resizing-images/ * changed: deferred (background) optimization is now the normal mode of operation as it runs instantly, and no longer relies on wp_cron * changed: scheduled optimization uses new background processing to allow it to run longer, and resume quicker * changed: webp .htaccess rules removed when plugin is deleted * changed: JPG quality setting applies to conversion AND image editing (but not regular optimization), so that you can override the WP default of 82 * changed: API license status check is faster, as results are cached while checking for updates in the background * fixed: .htaccess rules for webp inserted properly for sub-directory installs * fixed: .jpe files properly detected as image/jpeg when fetching from CDN or during folder-scanning operations * fixed: images generated by NextGEN are properly optimized with latest version * fixed: deprecated class constructors for NextGEN, Nextcellent, and FlaGallery classes (potential white screen with PHP 7) * fixed: basic uploader for FlaGallery broken due to missing class * fixed: images uploaded with WPML Media active are now resized, with better detection for newly uploaded images = 2.8.5 = * fixed: previous security hardening used boolval(), which is not present on PHP < 5.5 = 2.8.4 = * security: remote command execution, please update immediately = 2.8.3 = * fixed: tool status not shown when tool could not be found, prevents pngout installation * fixed: notice when checking nonce lifetime during scheduled optimization * fixed: multi-site not saving cloud optimization levels * fixed: settings page requiring a refresh to display properly after inserting/removing an API key = 2.8.2 = * added: ability to use ImageMagick's 'convert' tool to convert images on Windows * fixed: WebP images regenerated during scheduled optimization when PNG optimization disabled * fixed: Windows executable checks obey 'use system tools' option * fixed: settings page checks for tools which have already been tested and known missing = 2.8.1 = * added: kudos to Cache Enabler plugin from KeyCDN for adding WebP rewrite support to work with images generated by EWWW I.O. * fixed: untranslatable string for resize setting description * fixed: Resize Media Images was not applying to the Media->Add New menu item * fixed: Bulk Optimize counted webp images as valid resizes = 2.8.0 = * added: resizing for uploaded images, set max width and height and optionally resize all existing images * added: retina derivative for resized original is generated if original was at least twice the size of the max dimensions (WP Retina 2x Pro only) * fixed: warnings for file_exists in Alt WebP function when open_basedir restriction is in effect * removed: disable automatic optimization, use deferred optimization instead * removed: disable optipng (it still functions, just seeing if anyone actually needs that option anymore) * changed: consolidated various settings into optimization levels for each file format, and removed Cloud tab = 2.7.2 = * fixed: retina images not obeying deferred and disabled auto-optimize options * fixed: fatal error for wp-cli when trying to optimize Media Library * fixed: pdf optimization was checking for gif option * fixed: pdf could not use bulk optimization or deferred optimization due to empty metadata = 2.7.1 = * fixed: Bulk Optimization not including PDF files * fixed: PDF files not being checked for prior optimization * fixed: notice for undefined index when running scheduled optimization * changed: Scan and Optimize changed from extension blacklist to smaller extension whitelist = 2.7.0 = * added: PDF Optimization, both lossless AND lossy = 2.6.2 = * fixed: url matching for Amazon S3 urls not working for region-specific protocol handlers * fixed: discrepancy between number of images actually queued for bulk and number of images listed as selected * fixed: S3 images not being fetched when doing local optimization and local images have been removed * removed: optimize again for media library after bulk optimize is complete * changed: fewer timeouts for long-running Bulk operations by re-issuing nonce values * changed: previously optimized CDN images show Re-optimize instead of Optimize Now * added: pre-emptive mime-type detection for Amazon S3 images since the AWS Stream Wrapper is not reliable = 2.6.1 = * fixed: disabled tools being tested during optimization * fixed: slow loading of Media Library list view with Amazon S3 attachments * fixed: Amazon S3 images could be re-optimized after upload without Force enabled * fixed: Amazon S3 images not shown when pressing Show Optimized Images * fixed: error when legacy image_md5 column did not exist * changed: last optimized time set in db for all images, not just re-optimized ones * changed: NextGEN bulk optimize requires admin permissions by default = 2.6.0 = * security: missing validate, sanitize, and escape for some user and database inputs * security: bulk optimize uses a js sleep instead of php to help avoid timeouts and protect against DOS attacks * security: protect from CSRF by adding nonce values to one-click optimize/re-optimize/convert links * removed: support for legacy NextGEN 1.x, please use Nextcellent for continued integration with EWWW I.O. * fixed: nextgen (nextcellent and 2.x) styling for ui when bulk optimizing galleries and images on the Manage Galleries page * fixed: advanced settings not showing the medium_large size introduced in WP 4.4 * fixed: path to Image Store resizes not built properly * fixed: notices when querying for MetaSlider images * fixed: fatal error when NextGEN2 and EWWW are active with the Photocrati theme and you try to activate another plugin * fixed: white screen when using NextGen2's Reset Options to Default * fixed: not properly detecting if login session expires while running bulk optimization * fixed: webp js attempting to load even if jQuery not present * fixed: conflict with Alternative WebP Rewriting and Cornerstone editor from X-theme * fixed: warning generated by trying to create ewww/ tool folder when wp-content is not writable * fixed: blank settings page when wp-content/ folder was not writable * fixed: arrow on Plugin Status was missing due to WP admin style updates * fixed: bulk optimize will output a proper error message then the full-size image cannot be found * added: compatibility with Alternative WebP Rewriting and infinite scroll from Avada theme, Animated Infinite Scroll plugin, and other functions that retrieve full-page content via AJAX * added: full compatibility with Alternative WebP Rewriting and Revolution Slider from ThemePunch * added: Alternative WebP Rewriting supports protocol-less urls * added: Alternative WebP Rewriting works with Easy Social Share Buttons plugin (footer widget had extra spacing) * added: debugging page for dynamic image (re)generation to help find problematic plugins * added: bulk optimize displays image credits needed and used/remaining credits for API users * added: better admin notices when the wp-content/ewww/ folder cannot be created or is not writable * changed: bulk optimize combines ajax queries for greater efficiency and to avoid tripping request limits * changed: bulk optimize shows last optimized image details and optimization log in movable and collapsible metaboxes * changed: speed up Cloud optimization by removing redundant API verifications when optimizing image resizes * changed: use sha256 algorithm instead of md5 for stronger binary verification * changed: replaced get_posts with direct wpdb calls for less overhead and to avoid broken filters from other plugins * changed: standard lossy JPG compression (via TinyJPG) now preserves copyright when Remove Metadata is unchecked * changed: cwebp updated to 0.5.0 and linux binaries consolidated into one static binary for better compatibility * changed: jpegtran updated to 9b and linux binaries consolidated into one static binary for better compatibility = 2.5.9 = * fixed: warnings when attempting to unlink (delete) a non-existent test file * fixed: deep checking was not enabled for pngquant and cwebp (optional utilities) = 2.5.8 = * added: advanced checking for binaries using sample images when version output is suppressed * fixed: CPU overload causing 503 errors related to WebP function and output buffering parameters * fixed: call to old debug function in Image Store Optimize page * fixed: notices if action2 is not specified from Media Library bulk action drop-down * changed: streamlined binary checking to allow -custom and -alt binaries for all tools, including Windows = 2.5.7 = * fixed: MySQL column index too large when collation is utf8mb4 prevents table creation and throws warnings on upgrades * fixed: cleanup of table upgrade function to avoid unnecessary queries * fixed: Optimized string was undefined for flagallery and nextgen bulk optimization * fixed: When activated network-wide, settings link on per-site Plugins page was incorrect = 2.5.6 = * fixed: avoid memory leaks from calls to ewwwio_debug_message() within ewww_image_optimizer_require() for multi-site users = 2.5.5 = * fixed: prevent duplicate scheduled optimizations from running concurrently * fixed: removed redundant checks from scheduled optimization * changed: files without extensions are skipped by the folder scanning function * changed: hidden files are skipped by the folder scanning function (can be modified with a filter) * changed: new installs will have the collation set properly for the ewwwio_images table * changed: make require() and include() less fatal and use admin notices instead * fixed: warnings when deferred optimization queue is empty = 2.5.4 = * changed: Remove metadata turned on by default, should not affect existing installations/upgrades * changed: Português and Español moved to language packs * fixed: notices from redefining constants * updated: bundled pngquant to version 2.5.2 * updated: bundled cwebp to version 0.4.4 * deprecated: cwebp will not be updated for Mac OS X 10.8 past 0.4.2 = 2.5.3 = * fixed: wpdb call causes error during scheduled optimization * fixed: mismatched CN for SSL certs on cloud servers * changed: French, Bulgarian, Romanian, German and Polish translations have been moved to language packs for auto-updating * changed: allow 755 or greater permissions instead of only 755 for local binaries * added: Alt WebP Rewriting supports new srcset and sizes attributes in WordPress 4.4 = 2.5.2 = * new: all our installation videos have been re-done so that they are up-to-date and answer some common questions * changed: much faster scanning for Scan & Optimize when ewwwio table is large * fixed: check WP_CONTENT_DIR setting if wp_upload_dir() is reporting the wrong upload directory * fixed: translations for fr_BE and uk (Ukrainian) * fixed: .htaccess installer for webp rules * fixed: alt webp rewriting gets stuck when tag has a space: * fixed: notice thrown when trying to call unregister_setting before any settings were actually registered for EWWW = 2.5.1 = * added: Portuguese (Portugal) translation for pt_PT thanks to Celso Azevedo * added: optimization for custom sizes for "Fraction" theme * added: filter to override restrictions for Folders to Optimize * added: automatic fallback for conversion options if a toolkit does not produce any output * added: notice for WP Engine users to use Cloud version of EWWW Image Optimizer * fixed: bulk delay was ignored when processing deferred images * fixed: notices when scanning media library to load Bulk Optimize page * fixed: tooltip text was not escaped properly for one-click conversion links * fixed: warning when deferred optimization runs and there is nothing available to optimize * fixed: error when bulk optimizing and w3_upload_info() function is missing * fixed: error when passing empty value to json_encode() * fixed: error on Unoptimized Images when bulk optimization resume flag is set, but no attachments are left * fixed: Unoptimized Images will scan entire library when bulk optimization resume flag is set, instead of just remaining attachments = 2.5.0 = * deprecated: Disable Automatic Optimization and Include Media Folders options: will be removed from the UI in 2.6 but remain functional if enabled * added: deferred optimization lets you upload images with no delays, and optimize later automatically * added: wp_cron filter has additional parameter to allow setting scheduled & deferred optimization on different freqencies * added: remote images on S3 can be fetched when using WP Offload S3 (Amazon S3 and Cloudfront) * added: remote images on Azure Storage can be fetched when using Windows Azure Storage for WordPress * added: (re)upload to Dreamspeed after optimization * added: action hooks before and after optimization * added: filter to modify the number of records queried when counting unoptimized images (default 3000) * added: check for retina images generated without WP Retina 2x, with filter to modify @2x extension * added: support for Imagick and Gmagick extensons when converting images (JPG2PNG and PNG2JPG) * changed: nextcellent thumbs are optimized on creation, no need to manually optimize after upload * changed: API keys are masked as password fields * changed: debugging functions streamlined to reduce memory usage * updated: translator credits - huge THANK YOU to all of them! * fixed: errant tool warnings for cloud users in nextgen and flagallery * fixed: catch extraction error for pngout during automatic install * fixed: settings link in error notices for network-activated installs * fixed: regression with alt webp rewriting introduced in 2.4.4 that caused duplicate and tags in some cases * fixed: url replacement when restoring original for a converted image = 2.4.7 = * fixed: defer nextgen loading until 'init' to prevent activation/upgrade problems * fixed: nextgen dynamic image generation fails if API subscription is out of image credits = 2.4.6 = * fixed: some admin pages were testing all tools regardless of the active settings (also improves admin load times) * fixed: check that image exists in WP_Image_Editor extension * fixed: load 'tool_init' earlier on Media Library to prevent errors with Enhanced Media Library plugin * added: filter to modify/suppress output of thumbnail optimization message after image upload for Nextcellent (useful for things like Lightroom integration) * updated: Italian (it_IT) translation = 2.4.5 = * fixed: warning on settings page for implode() function * fixed: notice on admin pages with get_home_url() function * updated: gifsicle works again on Windows XP and Server 2003 * added: filter to allow changing time period for scheduled optimization = 2.4.4 = * fixed: Alt WebP Rewriting unable to find images when WP url and Site url are different (subdirectory install) * fixed: Alt WebP Rewriting mangles certain characters due to older versions of libxml * fixed: Alt WebP Rewriting parses xml files when it should leave them alone - feeds and sitemaps * fixed: issues with API license exceeded during bulk optimization * fixed: pngout regression with .tmp and .tmp.png files preventing optimization * updated: bundled Gifsicle updated to 1.87 * updated: bundled cwebp updated to 0.4.3 (0.4.2 for Mac OS 10.8) * deprecated: pngout 20151319 does not work on CentOS 5, older versions available at http://static.jonof.id.au/dl/kenutils/ * deprecated: FreeBSD 8.4 support, moving to 9.3 64-bit only = 2.4.3 = * fixed: Alt WebP Rewriting breaks themes with
    elements = 2.4.2 = * updated: pngout installer updated to release 20150319 * updated: set_time_limit() moved to core function for even better timeout avoidance, and threshold increased to 90 * fixed: Alt WebP Rewriting detects XHTML themes, and attempts to parse them as XML, but will still break if your theme does not pass validation. * fixed: cleanup output of html entities when using wp-cli * fixed: Scan & Optimize throws warnings when a directory is not detected properly * fixed: --noprompt for wp-cli has no effect * fixed: notices for exec() and Safe Mode not firing properly * fixed: prevent tools from being checked if exec() is disabled or Safe Mode is on during optimization * fixed: check to see if set_time_limit() is disabled before running it * added: W3TC S3 CDN - update original image on S3 after optimization * added: German (de_DE) translation * added: French (fr_FR) translation * added: call set_time_limit() to avoid timeouts loading the Bulk Optimize page = 2.4.1 = * fixed: Alt WebP Rewriting was slow due to an inefficient regexp * fixed: Scan & Optimize fails when it encounters a permissions error = 2.4.0 = * added: advanced option to disable specific resizes or just exclude them from optimization * added: Turkish and Swedish translations (with updates of most other translations) * added: protection to prevent corruption of images in case of broken mimetype detection * fixed: check to prevent issues with reloading nextgen2 support was only half-effective * fixed: previous fix for wrong slash on Windows breaks savings settings for Network sites * fixed: WP_Image_Editor init() check was not checking the right constant * fixed: Alternative WebP Rewriting had a mismatched preg_replace causing broken or tags * fixed: some NextGen bulk optimize functions were broken when using various translations = 2.3.2 = * fixed: sql error for duplicate key name during plugin upgrade * fixed: is_plugin_active undefined during scheduled optimization * fixed: webp rewriting strips and * fixed: leftover javascript showing 0 for Total Savings * changed: minify and load webp script inline * changed: client-side webp detection for caching plugins * changed: settings page ui refinements * changed: prevent parsing the request with alternative webp rewriting unless it contains html * changed: more extensions added to blacklist during Scan and Optimize to prevent memory errors * changed: added checks to prevent redeclaring ewwwngg and ewwwflag classes = 2.3.1 = * fixed: load_webp.js was being inserted regardless of the associated Alternative WebP Rewrites option * fixed: wrong slash in plugin path for Windows users with NextGEN and FlaGallery * fixed: extra comma in table upgrade sql * fixed: special characters malformed by alternate webp rewriting * updated: translation for Spanish * changed: progressbar color updated to match new colors in 4.2 for default theme = 2.3.0 = * fixed: bug in GIF processing rendered Gifsicle impotent (no savings possible), non Cloud users should re-optimize all their GIFs in Force mode * added: WebP url rewriting for sites using CDNs, requires output buffering and libxml in PHP, and may require modifications for some themes * added: option to include last two months of Media Library images in Scheduled Optimization (for those that have disabled Automatic Optimization) * added: automatic optimization for dynamic resizes generated by NextGEN 2+, particularly useful for Plus/Pro users * added: option to speed up lossy compression by using less compression * added: compatibility with NextGEN Public Uploader and other NextGEN 2 plugins that use legacy uploads * added: auto-optimization for MyArcade plugin * added: delay uploading with W3TC CDN function until after optimization * changed: resizes are not processed twice during upload. they were only optimized once previously, but this should give a small speed boost to uploads. * changed: manual optimize/convert/restore links require editor role, bulk optimization requires admin role, can be changed via filters * changed: disabling automatic optimization affects Nextgen, Nextcellent, and FlaGallery as well * changed: lossy compression for EWWW I.O. Cloud users now uses TinyJPG and TinyPNG for superior compression * changed: added index to ewwwio_images table and modified queries for substantial speed-up (and less load on database servers) * changed: Total Savings calculation now uses a single SQL statement, please report any related errors right away * changed: cleaned up flagallery and nextgen integration loading and made it folder-agnostic * changed: suppress plugin warnings when running 'init' outside of admin pages * fixed: Folders to Optimize was not being validated properly * fixed: notice on Unoptimized Images page * fixed: mysql error when attempting to query negative number of records on settings page * fixed: disabling cloud api no longer sets optipng/pngout levels to max * fixed: bug with image savings string in Spanish translation * fixed: referencing object as an array when scanning for Meta Slider images causes Scan & Optimize to fail * fixed: BIGINT errors when calculating savings * fixed: warning with Nextgen2 when plugin init had not yet occurred * fixed: Scan and Optimize consuming too much memory when checking mimetype of .po files * fixed: wp retina detection queries referencing object as an array * fixed: originals from converted resizes were not deleted during attachment removal * fixed: WebP versions of retina 2x images were not renamed properly * fixed: Unoptimized images displays an empty table for zero images to optimize * updated: translations for Portuguese, Romanian, and Polish = 2.2.2 = * fixed: previous fix for deleting webp images was not working properly = 2.2.1 = * fixed: infinite loop on hosts where set_time_limit does not work = 2.2.0 = * added: wp-cli command to optimize via command-line, 'wp-cli help ewwwio optimize' for more details * added: Unoptimized Images page to show ONLY images that have not been processed by EWWW (under Media Library) * added: advanced option to preserve metadata for full-size originals * added: disable automatic optimization on upload under advanced options if you prefer to manually optimize in batches, or by scheduled optimization * changed: webp images are checked during deletion of images, though WP already removes any newer webp versions that are in the attachment metadata * fixed: load text domain earlier so that admin menu items are properly translated * fixed: Total Savings calculates properly on multi-site installs when network-activated * fixed: Total Savings was double-counting the first 1000 image query * FlaGallery 4.27 resolves the optimize on upload issue, and fixes problems with the new wp-cli functions = 2.1.2 = *fixed: post-processing call to Amazon S3 and Cloudfront was broken when upgrading it to .7 or higher, fixed to allow both .6 and .7 to work with EWWW IO = 2.1.1 = * broken: optimize on upload currently broken for flagallery * deprecated: NextGEN legacy support will be removed in 2.2 unless I hear from anyone still using it, Nextcellent will continue to be supported * changed: all image types are enabled when cloud API key is validated (but only if you do not choose individual options) * changed: prefixed javascript/request variables to avoid potential conflicts * fixed: undefined variable $log when uploading images * fixed: undefined variable $force when running scheduled optimize * fixed: undefined index JPG Support when GD is missing * added: memory logging in memory.log when WP_DEBUG is turned on in wp-config.php * fixed: bulk actions for Nextcellent were missing * fixed: notices generated because webp versions do not have height and width when WP is scanning resizes * fixed: notices generated due to no optimization status during bulk optimization for webp versions * fixed: error when trying to unserialize an array for Image Store Optimize page * changed: binary installation and checking only on specific admin pages instead of all admin pages, please report breakages ASAP * added: Portuguese translation (pt_BR), props to Pedro Marcelo de Sá Alves = 2.1.0 = * security: ssl strengthened for cloud users, no more SSLv3 (thanks POODLE), and other additional encryption tweaks, please report related errors ASAP * fixed: warning when scheduled scanner doesn't have any images to optimize * added: option to skip PNG images over a certain size since PNG images are prone to timeouts * added: compatibility with Animated Gif Resize plugin to preserve animation even in resizes * added: compatibility with Hammy plugin to generate dynamic resize versions on demand (and any other plugin/theme that uses WPThumb) * added: optimizing previously uploaded images (via bulk or otherwise) also uploads to Amazon S3 with the Amazon Cloudfront and S3 plugin * added: webp images are tracked in attachment metadata to enable upload via AWS plugins, but webp images are not deleted when attachments are deleted from Media Library (yet) * added: previously generated retina images (WP Retina 2x) are processed by standard Media Library routine, instead of via Folders to Optimize * changed: streamlined wp_image_editor extensions to be more future-proof * updated: all translations have been updated = 2.0.2 = * security: pngout error message properly sanitized to prevent XSS attack * changed: changed priority for processing Media Library images to run before Amazon Cloudfront plugin, this could affect other plugins that hook on wp_generate_attachment_metadata * fixed: cloud users seeing 'needs attention' incorrectly * fixed: error counter for bulk not being reset when successfully resuming * fixed: clarification about jpegmini and cmyk images * fixed: debugging errors for optipng/pngout levels should not be displayed for cloud users * fixed: pngout error was printing to screen prematurely * fixed: Image Store resizes were being double-optimized due to filename changes = 2.0.1 = * fixed: naming conflict with webp when jpg/png files have identical names, read NOTE above * fixed: folders to optimize are not retrieved properly on settings page * fixed: undefined variable in permissions check for cwebp on Mac OSX * fixed: prevent excess calls for cwebp * fixed: wpdb->prepare should have two arguments * updated: Spanish translation * added: Russian translation * changed: alternative binaries for jpegtran and cwebp use -alt suffix to avoid conflict with user-compiled binaries * removed: deprecated import process from bulk optimize page * removed: empty table option from bulk optimize page, use the Force checkbox instead * changed: force re-optimize checkbox applies to Media Library AND the Scan and Optimize function * changed: plugin status auto-collapses to save screen space, unless something needs your attention * changed: settings tabs have been moved below the status section (directly above the settings area) to enhance usability = 2.0.0 = * NOTE: while this is a release with new features, it is not a rewrite, only the next number in the decimal system, just like the WP numbering scheme * added: webp generation (wahooooooooo) * added: jpegmini support (more wahooooo, but requires a cloud subscription) * fixed: jpeg quality not being set properly for 4.0 on resizes * changed: settings page, feel free to give me feedback on the new menubar * fixed: some settings not being validated properly for multi-site * added: up to 30 second retry when bulk optimize is interrupted * changed: various code cleanup * fixed: prevent excess warnings/notices when binaries can't be installed * fixed: prevent binary installer from firing on unsupported operating systems * changed: better verification when saving settings for multi-site * changed: all cloud transactions are now secured (https) * fixed: use nextgen2's unserialize function to query metadata during bulk optimize * added: Polish translation * updated: Dutch and Romanian translations * updated: Tutorial videos on the Installation page have updated finally * updated: new binaries for optipng, gifsicle, and pngquant * updated: recompiled jpegtran binaries to be smaller * fixed: import failed if nextgen classes aren't available during import = 1.9.3 = * added: fallback mode when totals for resizes and unoptimized images cannot be determined by the bulk optimize tool * added: up to 30 second retry when import is interrupted on bulk optimize page * fixed: suppress 'empty server response' messages for cloud users, instead correctly report No Savings = 1.9.2 = * fixed: memory limit exceeded when counting total savings on settings page * fixed: application/octet-stream is accepted as valid output for mimetype check on executables * added: PngOptimizerCL for even better optimization of PNG images on cloud service * changed: cloud processing nodes upgraded for faster image processing * changed: made queries for resuming bulk operations more efficient to avoid running into max query length problems * fixed: images that were not processed (cloud or otherwise) can be optimized later (they are no longer stored in ewwwio_images table) * changed: more efficient verification of cloud api keys = 1.9.1 = * fixed: escapeshellarg command breaks Windows filenames * fixed: newer versions of pngquant not detected * fixed: properly check paletted/indexed PNG files for transparency (requires GD) * fixed: images smaller than imsanity resize limit trigger notice * changed: exclude full-size from lossy optimization applies to lossy conversions too * changed: no more caching of cloud key verification results, since verification is 300x faster, and only called when we absolutely need it * added: status for pngquant on settings page when lossy optimization is enabled * added: Optimized/webview sizes in FlaGallery are tracked properly, and optimized during bulk operations, and manual one-time optimizations. * added: use nextgen2 hook for adding action link in gallery management pages = 1.9.0 = * changed: verification results for cloud optimization are still cached, but actual optimization requires pre-verification to maintain load-balancing * added: NextCellent Gallery support - no future development will be done for NextGEN 1.9.13, all future development will be on NextCellent. * updated translations for Romanian and Dutch * fixed some warnings and notices * added GMedia folder to Scan and Optimize function * show cumulative savings in status section * added: filter to bypass optimization for developer use * added: option to bypass optimization for small images = 1.8.5 = * fixed: images with empty metadata count as unoptimized images on Bulk Optimize * changed: Import process split into batches via AJAX to make it less likely to timeout and use less memory * changed: Bulk Optimize page uses less memory and is quicker to load * fixed: custom column in NextGEN galleries works again with NextGEN 2.0.50+ * changed: cloud api cache refreshes properly when visiting Settings page * fixed: license exceeded messages do not stall Bulk Optimize incorrectly * fixed: warning on Bulk Optimize for sites using UTC * fixed: user-specified paths to optimize did not work if using multi-site WP with plugin activated per-site * fixed: gifsicle sometimes generates slightly larger images (not anymore) = 1.8.4 = * fixed: Import process is much faster by about 50x = 1.8.3 = * fixed: tools cannot be found if there are spaces in the WP paths * changed: API key validation is now cached to greatly reduce page load time, mostly on the admin side, but also for any sites that generate or allow uploading images on the front-end * fixed: a few WP Retina @2x images were not being optimized, and none of them were stored in the ewwwio_images table properly * new: better compression for cloud users via advpng * new: lossy compression for PNG images via pngquant * changed: Bulk Optimize loads much quicker (mostly noticable on sites with thousands of images) = 1.8.2 = * updated Romanian translation * removed: potentially long-running query from upgrade * fixed: cloud queries were using the wrong hostname, all cloud users must apply this update to avoid service degradation = 1.8.1 = * fixed: ewww_image_optimizer_aux_images_loop() undefined causes any calls to WP_Image_Editor to fail (breaks lots of stuff) = 1.8.0 = * fixed: debug output not working properly on bulk optimize * changed: when cloud license has been exceeded, the optimizer will not attempt to upload images, and bulk operations will stop immediately * fixed: unnecessary decimals will not be displayed for file-sizes in bytes * added: button to stop bulk optimization process * fixed: rewrote escapeshellarg() to avoid stripping accented characters from filenames * fixed: problems with apostrophes in filenames * changed: Optimize More and Bulk Optimize are now on the same page * changed: After running Optimize More, you can Show Optimized Images and Empty Table without refreshing the page. * fixed: blank page when resetting bulk status in flagallery * change: already optimized images in Media Library will not be re-optimized by default via bulk tool * fixed: FlaGallery version 4.0, optimize on upload now works with plupload * fixed: proper validation that an image has been removed from the auxilliary images table * move more code into admin_init to improve page load on front-end * added: ability to specify number of seconds between images (throttling) * added: nextgen and grand flagallery thumb optimization is now stored in database * change: significant speed improvement, optimizer only checks for the tools it needs for the current image * fixed: urls for converted resizes were not being updated in posts * fixed: attempt to convert PNGs with empty alpha channels after optimization on first pass, instead of on re-optimization = 1.7.6 = * fixed: color of progress bar for 4 more admin themes in WP 3.8 * changed: metadata stripping now applies to PNG images, but only if using optipng 0.7.x * added: ability to remove individual images from the Optimize More table * fixed: Optimize More was using case-insensitive queries for matching paths * fixed: Optimize More was unable to record image sizes over 8388607 bytes * removed: obsolete jQuery 1.9.1 file used for maintaining backwards compatibility with really old versions of WP * fixed: weirdness with paths preventing Windows servers from activating, and cleanup of plugin path code = 1.7.5 = * new version of gifsicle (1.78), for more detail, see http://www.lcdf.org/gifsicle/changes.html * proper detection of Cloudinary images instead of error message * plays nicer with Imsanity, detect when a newly uploaded image has been modified and optimized already (instead of re-optimizing) * Dutch translation - nl_NL * Romanian translation - ro_RO * Spanish translation - es_ES * Cloudinary integration: auto-upload after optimization when uploading to Media Library, must be enabled in settings * debugging output for Media Library (let's you see resizes) * visual tweaking for upcoming WP 3.8 * better checking for safe_mode = 1.7.4 = * fixed: some settings were set to incorrect defaults after enabling and disabling cloud features * fixed: invalid status on some systems for 'tar' command * new: SunOS support - OpenIndiana and Solaris * fixed: resizes not properly checking for re-optimization prevention = 1.7.3 = * fixed: some security plugins disable Optimize More - use install_themes permission instead of edit_themes * fixed: table schema changes not firing on upgrade * changed: bulk_attachment variables are not autoloaded to improve performance = 1.7.2 = * added: internationalization - need volunteers to provide translations. * fixed: Import button not shown on Optimize More in some cases * fixed: Bulk Optimize for Nextgen was broken * changed: file comparison from md5sum to filesize for Optimize More to improve load time * added: quota information for cloud users on settings page * fixed: sub-folders of uploads directory were not allowed if /uploads is outside of wp folder * changed: increased cloud_verify timeout to avoid false results * added: link to status page for cloud service on settings page * fixed: debug log created if it does not exist already = 1.7.1 = * fixed: syntax error causing white screen of death for Nextgen v2 = 1.7.0 = * added: ability to optimize specified folders within your wordpress install * added: option to optimize on a schedule for images that cannot be automatically optimized on upload (buddypress, symposium, metaslider, user-specified folders) * added: WP Symposium support via 'Optimize More' in Tools menu * added: BuddyPress Activity Plus support via 'Optimize More' * fixed: unnecessary check for 'file' field in attachment metadata * fixed: network-level settings are not reset on deactivation and reactivation * fixed: blog-level settings not displayed when activated at the blog-level on multi-site * added: Any plugin that uses wp_image_editor (GD, Imagick, and Gmagick implementations) will be auto-optimized on upload * fixed: Optimize More will crash if one of the standard folders does not exist (e.g.: buddypress avatar folders) * fixed: filenames are escaped to prevent potential crashes and security risks * fixed: temporary jpgs are checked to be sure they exist to avoid warnings * fixed: prevent warnings on bulk optimize due to empty arrays * fixed: don't check permissions until after we know file exists * fixed: WP get_attached_file() doesn't always work, try other methods to get attachment path * removed: deprecated setting to skip utility verification * fixed: init not firing for plugins with front-end functionality * fixed: suppress warnings if corrupt jpg crashes jpegtran * added: screencasts on plugin Installation page = 1.6.3 = * plugin will failover gracefully if one of the cloud optimization servers is offline * prevent excess database calls when optimizing theme images * fixed plugin mangles metadata for Image Store plugin * added optimization support for Image Store plugin * verify md5 on buddypress optimization, so changed images will get re-optimized by the bulk tool * cleaned up settings page (mostly) for cloud users = 1.6.2 = * added license exceeded status into status message so users know if they've gone over * prevent tool checks and cloud verification from firing on every page load, yikes... = 1.6.1 = * fixed: temporary jpgs were not being deleted (leftovers from testing for last release) * fixed: jpgs would not be converted to pngs if jpgs had already been optimized * fixed: cloud service not converting gif to png = 1.6.0 = * Cloud Optimization option (BETA: get your free API key at http://www.exactlywww.com/cloud/) * fixed if exec() is disabled or safe mode is on, don't bother testing local tools * more tweaks for exec() detection, including suhosin extension = 1.5.0 = * BuddyPress integration to optimize avatars * added function to optimize all images in currently active theme * full compatibility with NextGEN 2.0.x * thumbnails are now optimized automatically on upload with NextGEN 2.0.x * fixed detection of disabled exec() function when exec is the first function in the list * use internal wordpress functions for retrieving image path, displaying filesize, building redirect urls, and downloading pngout = 1.4.4 = * fixed bulk optimization functions for non-English users in NextGEN * fixed bulk action conflict in NextGEN = 1.4.3 = * global configuration for multi-site/network installs * prevent loading of bundled jquery on WP versions that don't need it to avoid conflicts with other plugins not doing the 'right thing' * removed enqueueing of common.js to make things run quicker * fixed hardcoded link for optimizing nextgen thumbs after upload * added links in media library for one time conversion of images * better error reporting for pngout auto-install * no longer alert users of jpegtran update if they are using version 8 = 1.4.2 = * fixed fatal errors when posix_getpwuid() is missing from server * removed path restrictions, and fixed path detection for old blogs where upload path was modified = 1.4.1 = * FlaGallery and NextGEN Bulk functions are now using ajax functions with nicer progress bars and such * NextGEN now has ability to optimize selected galleries, or selected images in bulk (FlaGallery already had it) * NextGEN users can now click a button to optimize thumbnails after uploading new images * use built-in php mimetype functions to check binaries, saving 'file' command for fallback * added donation links, since several folks have expressed interest in contributing financially * bundled jquery and jquery-ui for using bulk functions on older WP versions * use 32-bit jpegtran binary on 'odd' 64-bit linux servers * rewrote debugging functionality, available on bulk operations and settings page * increased compatibility back to 2.8 - hope no one is actually using that, but just in case... = 1.4.0 = * fixed bug with missing 'nice' not detected properly * added: Windows support, includes gifsicle, optipng, and jpegtran executables * added: FreeBSD support, includes gifsicle, optipng, and jpegtran executables * rewrote calls to jpegtran to avoid shell-redirection and work in Windows * jpegtran is now bundled for all platforms * updated gifsicle to 1.70 * pngout installer and version updated to February 20-21 2013 * removed use of shell_exec() * fixed warning on ImageMagick version check * revamped binary checking, should work on more hosts * check permissions on jpegtran * rewrote bulk optimizer to use ajax for better progress indication and error handling * added: 64-bit jpegtran binary for linux servers missing compatibility libraries = 1.3.8 = * fixed: finfo library doesn't work on PHP versions below 5.3.0 due to missing constant * fixed: resume button doesn't resume when the running the bulk action on groups of images * shell_exec() and exec() detection is more robust * added architecture information and warning if 'file' command is missing on settings page * added finfo functionality to nextgen and flagallery = 1.3.7 = * re-compiled bundled optipng and gifsicle on CentOS 5 for wider compatibility = 1.3.6 = * fixed: servers with gzip still failed on bulk operations, forgot to delete a line I was testing for alternatives * fixed: some servers with shell_exec() disabled were not detected due to whitespace issues * fixed: shell_exec() was not used in PNGtoJPG conversion * fixed: JPGs not optimized during PNGtoJPG conversion * allow debug info to be shown via javascript link on settings page * code cleanup = 1.3.5 = * fixed: resuming a bulk optimize on FlAGallery was broken * added resume button when running the bulk optimize operation to make it easier to resume a bulk optimize = 1.3.4 = * fixed optipng check for older versions (0.6.x) * look in system paths for pngout and pngout-static * added option for ignoring bundled binaries and using binaries located in system paths instead * added notices on options page for out-of-date binaries = 1.3.3 = * use finfo functions in PHP 5.3+ instead of deprecated mime_content_type * use shell_exec() to make calls to jpegtran more secure and avoid output redirection * added bulk action to optimize multiple galleries on the manage galleries page - FlAGallery * added bulk action to optimize multiple images on the manage images page - FlAGallery = 1.3.2 = * fixed: forgot to apply gzip fix to NextGEN and FlAGallery = 1.3.1 = * fixed: turning off gzip for Apache broke bulk operations = 1.3.0 = * support for GRAND FlAGallery (flash album gallery) * added ability to restore originals after a conversion (we were already storing the original paths in the database) * fixed: resized converted images had the wrong original path stored * fixed: tools get deleted after every upgrade (moved to wp-content/ewww) * fixed: using activation hook incorrectly to fix permissions on upgrades (now we check when you visit the wordpress admin) * removed deprecated path settings, custom-built binaries will be copied automatically to the wp-content/ewww folder * better validation of tools, no longer using 'which' * removed redundant path checks to avoid extra processing time * moved NextGEN bulk optimize into NextGEN menu * NextGEN and FlAGallery functions only run when the associated gallery plugin is active * turn off page compression for bulk operations to avoid output buffering * added status messages when attempting automatic installation of jpegtran or pngout * NEW version of bundled gifsicle can produce better-optimized GIFs * revamped settings page to combine version info, optimizer status, and installation options * binaries for Mac OS X available: gifsicle, optipng, and pngout * images are re-optimized when you use the WP Image Editor (but never converted) * fixed: unsupported files have empty path stored in meta * fixed: files with empty paths throw PHP notices in Media Library (DEBUG mode only) * when a converted attachment is deleted from wordpress, original images are also cleaned up = 1.2.2 = * fixed: uninitialized variables * update links in posts for converted images * fixed: png2jpg sometimes fills with black instead of chosen color * fixed: thumbnails for animated gifs were not allowed to convert to png * added pngout version to debug = 1.2.1 = * fixed: wordpress plugin installer removes executable bit from bundled tools = 1.2.0 = * SECURITY: bundled optipng updated to 0.7.4 * deprecated manual path settings, please put binaries in the plugin folder instead * new one-click install option for jpegtran * one-click for pngout is more efficient (doesn't redownload tarball) if it exists * optipng and gifsicle now bundled with the plugin * new *optional* conversion routines check for smallest file format * added gif2png * added jpg2png * added png2jpg * reorganized settings page (it was getting ugly) and cleaned up debug area * added poll for feedback * thumbnails are now optimized in NextGEN during a manual optimize (but not on initial upload) * utilities have a 'niceness' value of 10 added to give them lower priority = 1.1.1 = * fixed not returning results of resized version of image = 1.1.0 = * added pngout functionality for even better PNG optimization (disabled by default) * added options to disable/bypass each tool * pre-compiled binaries are now available via links on the settings page - try them out and let me know if there are problems = 1.0.11 = * path validation was broken for nextgen in previous version, now fixed = 1.0.10 = * added the ability to resume a bulk optimization that doesn't complete * changed path validation for images from wordpress folder to wordpress uploads folder to accomodate users who have located this elsewhere * minor code cleanup = 1.0.9 = * fixed parse error due to php short tags (old habits die hard) = 1.0.8 = * added extra progress and time indicators on Bulk Optimize * allow each image in Bulk Optimize 50 seconds to help prevent timeouts (doesn't work if PHP's Safe Mode is turned on) * added check for safe mode (because we can't function that way) * changed default PNG optimization to level 2 (8 trials) to improve performance * restored calls to flush output buffers for php 5.3 = 1.0.7 = * added bulk optimize to Tools menu and re-optimize for individual images with NextGEN * fixed optimizer function to skip images where the utilities are missing * added check to ensure user doesn't pass arguments in utility paths * added check to prevent utilities from being located in web root * changed optipng level setting from text entry to drop-down to prevent arbitrary script execution * more code cleanup = 1.0.6 = * ported basic NextGEN integration from WP Smush.it (no bulk or re-optimize... yet) * added extra output for bulk operations * if the jpeg optimization produces an empty file, it will be discarded (instead of overwriting your originals) * output filesize in custom column for Media Library * fixed various PHP notices/warnings = 1.0.5 = * missed documentation updates in 1.0.4 - sorry = 1.0.4 = * Added trial with -progressive switch for JPGs (jpegtran), thanks to Alex Vojacek for noticing something was missing. We still check to make sure the progressive option is better, just in case. * tested against 3.4-RC3 = 1.0.3 = * Allow user to specify PNG optimization level * Code and screenshot cleanup * Settings page beautification (if you can think of further improvements, feel free to use the support link) * Bulk Optimize action drop-down on Media Library - ported from Regenerate Thumbnails plugin = 1.0.2 = * Forgot to add Settings link to warning message when tools are missing = 1.0.1 = * Fixed optimization level for optipng (-o3) * Added Installation and Support links to Settings page, and a link to Settings from the Plugin page. = 1.0.0 = * First release (forked from CW Image Optimizer)