Linux 软件免费装
Banner图

Image Regenerate & Select Crop

开发者 Iulia Cazan
更新时间 2024年11月19日 17:06
捐献地址: 去捐款
PHP版本: 7.3.5 及以上
WordPress版本: 6.7
版权网址: 版权信息

标签

crop cleanup regenerate image optimization bulk regenerate

下载

2.0.0 3.0.0 3.1.0 4.2 4.2.1 3.3 4.0 4.2.2 8.0.2 8.0.3 7.3.1 4.7.3 4.7.4 4.8 5.0 5.1 5.2 5.2.1 5.3 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.4 5.4.2 5.4.3 5.4.4 5.5 6.0.2 6.1.0 4.3 4.4 4.5 4.6 4.6.1 5.0.1 6.0.0 6.0.3 6.2.0 6.2.1 7.0.0 7.0.1 7.1.0 7.2.0 6.0.1 6.2.2 7.2.1 7.2.2 7.2.3 3.2 3.4 4.1 4.7 4.7.2 5.4.1 7.2.4 7.2.5 7.3.0 7.3.2 7.3.3 7.3.4 8.0.0 1.0.0 8.0.1 8.0.4 8.0.5

详情介绍:

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

屏幕截图:

  • Extra details about the registered and not registered image sizes and all the generated files with the option to delete individual files. The extra info is available in the modal, at the bottom of the list.
  • Example of advanced custom rules based on the posts where the images will be uploaded (and how to temporarily suppress the rules without removing these).
  • The general setting view, placeholders, cron taks etc.
  • Example of settings that override the crop option for native sub-sizes, create/remove custom image sizes registered with the plugin.
  • Example of the plugin buttons in the media listing view for each of the attachments, to allow direct access to details, bulk regenerate all sub-sizes of the attachment and cleanup. Additionally, the summary of files is displayed (turned on/off from settings)
  • Example of the plugin buttons for the featured image of a post.
  • Example of the plugin buttons for the WooCommerce product featured image and the product gallery.
  • The general setting view with options to regenerate all images for a specific size, cleanup, general crop position, quality, globally ignore sub-sizes, hide sub-sizes from views.

常见问题:

How to use the plugin wp-cli commands?

See details and examples at https://iuliacazan.ro/image-regenerate-select-crop/#wp-cli-faq

Can I use the buttons in my code?

If you want to display the custom buttons in your plugins, you can use the custom action with $attachmentId parameter as the image post->ID you want the button for. Usage example : do_action( 'image_regenerate_select_crop_button', $attachmentId );

What is the image placeholder mode?

This option allows you to display placeholders for front-side images called programmatically (that are not embedded in content with their src, but retrieved with the wp_get_attachment_image_src, and the other related WP native functions). If there is no placeholder set, then the default behavior would be to display the full size image instead of the missing image size. If you activate the "force global" option, all the images on the front side that are related to posts will be replaced with the placeholders that mention the image size required. This is useful for debugging, to quickly identify the image sizes used for each layout. If you activate the "only missing images" option, all the images on the front side that are related to posts and do not have the requested image size generated will be replaced with the placeholders that mention the image size required. This is useful for showing smaller images instead of full-size images.

How to ignore globally a sub-size?

You can exclude globally from the application some of the sub-sizes that are registered through various plugins and themes' options, but you don't need these in your application at all (these are just stored in your folders and database but not used). By excluding these, unnecessary image sizes will not be generated at all.

What does force original do?

This option means that the original image will be scaled to a max width or a max height specified by the image size you select. This might be useful if you do not use the original image in any of the layouts at the full size, and this might save some storage space. Leave "nothing selected" to keep the original image as what you upload.

When to use the cleanup all option?

This option allows you to clean up all the image sizes you already have in the application but you don't use these at all. Please be careful, once you click to remove the selected image size, and the action is irreversible, the images generated will be deleted from your folders and database records.

When to use the regenerate all option?

This option allows you to regenerate all the images for the selected sub-sizes. Please be careful, once you click to regenerate the selected image size, the action is irreversible, and the images already generated will be overwritten.

What is the default crop?

This option allows you to set a default crop position for the images generated for a particular image sub-size. This default option will be used when you chose to regenerate an individual image or all of these and also when a new image is uploaded.

更新日志:

8.0.5 8.0.4