Image Regenerate & Select Crop
Advanced management for images, register new sub-sizes, sub-sizes details, regenerate and cleanup files.
Install in
Image Regenerate & Select Crop plugin provides enhanced control over image settings and files regeneration, allowing you to override native medium and large crop options, and register new sub-sizes. The plugin appends additional buttons to regenerate and crop images (providing detailed information about the registered image sub-sizes and their status within the application) and enables configuration of the plugin for global or specific post-type attached images.
For the latest updates and detailed feature descriptions, visit https://iuliacazan.ro/image-regenerate-select-crop/.
Key Features
- Details button: opens a lightbox displaying detailed information on any missing sub-size files and options for manual generation if applicable. For crop-type images, the plugin offers the one-click re-crop option, using specific portions of the original image with an instant preview feature.
- Regenerate button: allows one-click regeneration of all image sizes for a specific image, ensuring that all uploaded images are updated with the newly registered sizes.
- Raw cleanup button: allows you to delete all files and metadata for the attachment, keeping only the original file and information, so you can easily regenerate afterward only the desired sub-sizes.
- The plugin integrates seamlessly without requiring additional code, adding the buttons to the “Edit Media” page, as well as “Edit Post” and “Edit Page” sections where a featured image is present, and in the image block. It is compatible with custom post types (including WooCommerce products) and supports various resolutions and responsive layouts.
Demo
License
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Joobi from the project's own listing. See the source page
9.0.0
- Tested up to 7.2
- PHP 8.5 compatibility updates
- WordPress 7.2 compatibility: fixes the truncated file names of the sub-sizes generated in the browser (the file name filter assumed that the numeric suffix was still present after the core sideload had removed it)
- WordPress 7.2 compatibility: removes the sub-size files generated in the browser that are not kept in the attachment metadata (e.g. the sizes ignored in the settings), the new filter
sirsc_cleanup_unreferenced_subsizesallows to opt out - WordPress 7.2 compatibility: fixes the Media Library grid view upload that did nothing (the sub-sizes buttons template read the mime type of an item that was still uploading)
- Added the Image Details, Regenerate and Raw Cleanup buttons on the tiles of the media modal opened from the post editor (shown on hover or when selected)
- Hardens the settings import: only the plugin options are imported and no objects are created from the imported string
- Repaired the missing full image dimensions in the legacy attachment metadata when the sizes are regenerated (avoids the PHP 8.5 null array offset deprecation in the core srcset code)
- Fixed the sub-sizes of JPEG images with an EXIF orientation (phone photos) being made in a mix of orientations
- Fixed the “only missing” placeholders mode that replaced an existing SVG with a placeholder
- Fixed the files count of the Uploads Folder Info and Uploads Inspector summaries (the number of folders was subtracted)
- Fixed a bulk action that was reported as scheduled but did not run when an obsolete entry of the same task was still stored
- Fixed the removal of the previous file of a sub-size that gets replaced by a regenerated one (e.g. the partial crops left behind for the images smaller than the sub-size)
- Fixed the settings of the post type not being applied when an image is uploaded (they were replaced by the global ones)
- Fixed the sub-sizes left without a file when the original is forced to a size smaller than the other sizes (the missing ones are rebuilt on upload)
See the changelog for detailed information on changes made in the earlier versions.
Follow this listing's changes (Atom feed)