== Changelog == = 1.9.5 = * Tested with WP 5.9-beta3 * Handle missing php module. * Update remainder (Ignore Easy updates manager) = 1.9.4 = * Allowed PHP versions: 8.0+ (8.0, 8.1 and above). * Allowed PHP-imagick extension linked with imageMagick-common version 7 (FreeBSD). = 1.9.3 = * Added: Warnings for plugins with known conflicts, when active. * Added: Check required ImageMagick library version below 7 (and above 6.3.2). * Added: Check required PHP-imagick constants after PHP-imagick & library version check. * Added: When PHP-imagick check has failed, refer user to ask host service provider for help and to read FAQ. = 1.9.2 = * Remove default value from the first param of render_tab_close_elements(...) function (PHP 8.0.10 compile time compatibility warning). = 1.9.1 = * Compatibility with [WordPress install in subdirectory](https://wordpress.org/support/article/giving-wordpress-its-own-directory/) fixed. * Compatibility with [WP CLI media regenerate (command)](https://developer.wordpress.org/cli/commands/media/regenerate/) fixed. * Compatibility with [PHP 8.0.\* (11) Server Environment](https://make.wordpress.org/hosting/handbook/server-environment/#php) added. Allowed PHP versions are 5.6.\*/7.\*/8.0.\*. Lower versions (alpha?/beta?) or Release Candidates (RC) are excluded. See [WordPress Install Requirements](https://wordpress.org/about/requirements/) and [PHP Unsupported Branches](https://www.php.net/eol.php). * Compatibility with [PHP 5.6.\* (40) Server Environment](https://www.php.net/eol.php) fixed. = 1.9 = * Recommended using [Htaccess File Editor](https://wordpress.org/plugins/wp-htaccess-editor/) to configure server to serve converted WebP clones and other plugin-help updates. * Show warning (admin-notice) when this plugin 'auto-update' is disabled (or not handled) by WordPress automatic updates. * Prevent plugin from (not tested) execution on PHP 8.0 (or greater). = 1.8 = * Compatibility: Get ready for WordPress 5.8 WebP media type. * Uninstall: Take care to remove other temporary settings and transients. * Uninstall: Cleanup obsolete user meta keys only once per installation lifetime. = 1.7 = * Restore current Tab and collapsed Sections on settings-page reload and update. * Use temporary session cookie to store current Tab and collapsed Sections. * On (de)activate and/or uninstall, remove obsolete wp-usermeta settings. * Preview Thumbnails: Embed JPEG/PNG images to skip redirect to WebP. * Add simple "use & regenerate" help instructions to settings-page. * Fix admin-menu position when "Top" menu position selected. * Readme & FAQ update. * Apply 1.6.x fixes. * Fix Quoted HTML. = 1.6.2 = * Fix: Automatic plugin upgrade: Allow plugin to re-activate without forcing user authorization check. = 1.6.1 = * Fix: Prevent fatal error when GD imagewebp() function is missing. = 1.6 = * New Option: Disable WP (maybe) rotating on upload/regenerate thumbnails. * New Option: Disable compressing original JPEG to same geometry thumbnail. = 1.5 = * Created: "Upload Actions" configuration section. * Created: Option & value to limit Max image width. * Removed: Obsolete JPEG compression type option/selection. = 1.4 = * Option return, with new low/high value limits: WP big image size threshold filter value (in pixels), when Big Image Size Threshold is not disabled. * Change in "Preview Thumbnails" template: Instead of 'full-size'/'original upload', new terms 'attached'/'original' are used, respectively. Because 'full-size' may be smaller than largest image size, due to a new ability to apply low "Big Image Size Threshold" value. = 1.3.13 = * Original JPEG is compressed to filename-WxH and attached as full-size. * Original JPEG image is available via wp_get_original_image_path(). * Convert all (not transparent and transparent) PNG images to WebP. * By WP "-rotated" JPEG images are compressed after rotation. * Enforce strip-meta setting to 'image_strip_meta' filters. * ICC profile is removed from thumbnails converted to sRGB. * New option setting to Sharpen JPEG image and thumbnails. * JPEG Colorspace choices reduced to sRGB or disabled. * Option to reduce images to maximum width is removed. * Default JPEG compression quality has changed to 60%. * Maximal JPEG compression quality increased to 95%. * Maximal WebP compression quality increased to 95%. * Fix: Remove user-setting on deactivate/uninstall. * FixUI: Show/hide second WebP compression quality. = 1.2.12 = * WordPress version 5.3 or higher required. * Prevent PHP warning when plugin activated. = 1.1.11 = * Enforce prioritize iMagick image-file editor over other editors. On plugin activation and/or upgrade. * Enforce restore image-file editors array to default builtin WordPress editors, when removed by other plugins. * Fix conflict with obsolete [bfi_thumb library](https://github.com/bfintal/bfi_thumb) used in unmaintained plugins using that library ([Ajax Search Lite](https://wordpress.org/plugins/ajax-search-lite/) and [Circles Gallery](https://wordpress.org/plugins/circles-gallery/)). * Fix for WP5.3+ [regenerate bug](https://github.com/Automattic/regenerate-thumbnails/issues/102) when regenerating user-edited-images, previously scaled by WP because original/upload image was larger than 2560x2560 pixels. = 1.0.10 = * Added: WebP compression quality settings option. * Added: JPEG to WebP compression quality may use JPEG quality settings or WebP setting above. * Added: WP big image size threshold filter now has configurable settings (in pixels), when not disabled. * Added: "Preview Thumbnails" Attachment Template. View thumbnails, attached image and webp clones on same page. * Added: Reactivate plugin on plugin (auto) upgrade. Use defaults when option is missing. Handle renamed option. * Fixed: JS dependencies on Settings page when plugin is installed on new/empty WordPress install (plugin test site). * Patch: Regenerate Thumbnails plugin: Option "Skip regenerating existing correctly sized thumbnails" is now by default OFF and hidden. Option was anyways ignored since first version, because changing compression quality or other parameters may change file sizes on "existing correctly sized thumbnails". = 1.0.9.1 = * When plugin is disabled (due to missing requirements on activation), handle errors on missing PHP extensions/requirements. = 1.0.9 = * If plugin activation prerequisite is missing, do not fail/die() on activation. Disable plugin and show admin error notices instead. = 1.0.8.1 = * Extend PHP max_execution_time if available. Last minute fix. = 1.0.8 = * Option to disable "big_image_size_threshold" filter. Default is "on". * Execute "Strip All" metadata on JPEG, only when colorspace is sRGB. * "Site info" tab, showing registered image sizes. * Clone [original_image] to WebP, when exists. * Extend PHP max_execution_time if set. = 1.0.7 = * Improved resilience. Second argument in "intermediate_image_sizes_advanced" filter is now optional. = 1.0.6 = * Regenerate is no more detectable since WP 5.3+. Process for Upload and Regenerate is now same. Obsolete code removed. Compatibility improved. = 1.0.5 = * Fix transparency-check after edit/restore. * Cover transparency-check exception. * Hooks refactored. = 1.0.4 = * Better transparency detection = 1.0.3 = * Do not generate WebP for transparent PNG images = 1.0.2 = * Do not dither transparent PNG images = 1.0.1 = * Added PNG Reduction & Generate WebP Images = 1.0.0 = * Initial WordPress.org Release