Skip to content

Releases: nosilver4u/ewww-image-optimizer

lazy-load and auto-scale fixes

27 Feb 17:28
Compare
Choose a tag to compare
  • 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

from 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

exclusions and tools and overrides, lots of em

30 Jan 20:54
Compare
Choose a tag to compare
  • 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

lazy load improvements

20 Nov 15:55
Compare
Choose a tag to compare
  • 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

blank placeholders and bug-fixes

05 Nov 15:57
Compare
Choose a tag to compare

Most notably in this release, ExactDN is renamed to Easy IO, and now uses blank placeholders for lazy-loading instead of LQIP by default:

  • 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

WebP-only mode and JS WebP improvements

16 Oct 17:12
Compare
Choose a tag to compare
  • 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

new tools page and more

26 Sep 19:02
Compare
Choose a tag to compare
  • 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

better page builder compat

10 Sep 18:14
Compare
Choose a tag to compare
  • 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

importer fixes

20 Aug 18:55
Compare
Choose a tag to compare
  • 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

js webp fixes

14 Aug 18:11
Compare
Choose a tag to compare

Fix error on settings page, and notices on image-less pages when JS WebP is enabled.

Lazier Loading and Easy IO Compatibility

14 Aug 15:39
Compare
Choose a tag to compare
  • 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