# Perfect Images (Optimize, Rebuild, Replace, Thumbnails, Retina)

`meteorgpl-plugin/wp-retina-2x` — a WordPress plugin as a Composer package.

Manage and optimize your images. Easily replace or regenerate existing images in bulk, set custom sizes, improve performance, create retina versions, and more. Achieve perfect images for your site with ease.

- Author: Jordy Meow — https://meowapps.com
- Homepage: https://meowapps.com
- License: not declared (profile: undeclared)
- Buy a license from the vendor: https://meowapps.com
- Latest version: 6.5.5 (2024-04-27)
- Page: https://meteorgpl.com/packages/meteorgpl-plugin/wp-retina-2x
- Requires WordPress: 6.0
- Tested up to WordPress: 6.5
- Requires PHP: 7.4
- Translations: de_DE, de_DE_formal, fr_FR, it_IT, sv_SE
- Vendor: Jordy Meow — https://meteorgpl.com/vendors/meowapps.com

## About

Take control of your images with Perfect Images! This powerful plugin helps you optimize and manage your images with ease. Easily replace or regenerate existing images in bulk, set custom sizes, improve performance, and create retina versions for high-quality displays. Plus, with features like CDN support and the ability to disable the image threshold, you can fine-tune your image management to suit your specific needs. Perfect Images is fast, does not create any new tables in your database, and is fully compatible with other plugins.

Here's a closer look at the main features of Perfect Images:

* Manage Image Sizes (Custom Sizes and Disable Sizes)
* Replace Image & Media Entries
* Regenerate Thumbnails
* Retina Images / High DPI
* CDN (with Image Optimization by EWWW)
* Disable Image Threshold

Originally designed to handle retina images, Perfect Images has evolved to become a must-have tool for any WordPress site.

=== Manage Image Sizes ===
With this feature, you can easily disable any unnecessary sizes and keep track of the sizes created for each of your media entries. This allows you to streamline your image management and get rid of any unnecessary sizes that may be taking up space on your site. For example, you can disable the medium_large, 1536x1536, and 2048x2048 sizes that WordPress automatically creates, which are often unnecessary.

=== Replace Image & Media ===
This convenient tool allows you to quickly swap out an image for a new one, all from within the plugin's dedicated dashboard, or directly from the Media Library or Edit Attachment pages. Say goodbye to the hassle of manually replacing images and streamline your media management.

=== Regenerate Thumbnails ===
This feature allows you to update your thumbnails en masse, with a convenient progress bar to keep you informed of the process. Plus, Perfect Images handles all the details, including regenerating your retina images and updating your media metadata as needed.

=== Retina Images / HighDPI ===
Make your website look stunning on high-DPI devices with Perfect Images. This plugin automatically generates and serves beautiful, crisp retina images to your visitors, ensuring that your site looks great on every device. Plus, with the option to manually generate retina images and the unique feature of creating retina images for full-size images, you'll have everything you need to make your website stand out. Visit the official website for more information and tutorials on how to get the most out of this feature.

=== Disable Image Threshold ===
This plugin gives you the ability to disable WordPress' automatic image scaling feature, which sometimes results in files with "-scaled" at the end of their filenames.

=== Pro Version ===
The Pro version adds support for Retina for full-size, support for lazy-loading for your responsive images and various options. And it supports my work :)

= Quickstart =

1. Set your option (for instance, you probably don't need retina images for every sizes set-up in your WP).
2. Generate the retina images (required only the first time, then images are generated automatically).
3. Check if it works! - if it doesn't, read the FAQ, the tutorial, and check the forums.

## Changelog

### 6.5.5 — 2024-04-27

* Fix: Corrected an issue where "crop" was always set to true.
* Add: Introduced log reader, log cleaner, and secure anti-traversal for log paths to enhance security and functionality.

### 6.5.4 — 2024-03-23

* Fix: Corrected actions for selected items and addressed missing status on entries.
* Update: Deprecated string variables for improved code quality.
* ✨ If you enjoy this plugin, please share some love by [writing a little review here](https://wordpress.org/support/plugin/wp-retina-2x/reviews/?rate=5#new-post). Don't hesitate to drop a few remarks and feature requests with the review. Thank you! 💖

### 6.5.3 — 2024-03-16

* Fix: Issue in Regenerate Entries.
* Update: Make sure sizes are array to avoid issues.

### 6.5.2 — 2024-02-02

* Add: Visual clue for media items lacking information, enhancing user awareness.
* Update: Improved logging for wp_get_image_editor errors for better troubleshooting.
* Update: Made MetadataViewer's status code more user-friendly, improving usability.
* Add: Optimized regenerate feature for thumbnails, alongside restoration of the previous version.
* Fix: Corrected issues with additional image sizes, ensuring comprehensive size coverage.

### 6.5.1 — 2023-12-25

* Update: Enhanced thumbnail check before regeneration to process only when necessary.

Full changelog: https://meteorgpl.com/packages/meteorgpl-plugin/wp-retina-2x/changelog

## Install

```sh
composer config repositories.meteorgpl composer https://composer.meteorgpl.com
composer require meteorgpl-plugin/wp-retina-2x
```

The repository needs a token (see https://meteorgpl.com/docs). The vendor's license checks are intact: activate the plugin in WordPress with a key bought from the vendor.

## Versions

| Version | Released | Size | SHA-256 | Status |
| --- | --- | --- | --- | --- |
| 6.5.5 | 2024-04-27 | 348.3 KB | 25ff115e92a091db70345d8e363af4c12c9579aef274bf9ab9a37563669a169a | verified |

