开发者 | samiff |
---|---|
更新时间 | 2022年6月13日 07:00 |
PHP版本: | 7.4 及以上 |
WordPress版本: | 6.0 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
If you aren't sure, after installing the plugin, in WP Admin navigate to: Settings > Strip Image Metadata Under "Plugin Information" it will show if the required extension is active on the site or not. If a compatible extension is not found, try asking your webhost or system administrator if either one can be enabled.
Yes, there is a bulk action included. In WP Admin navigate to the Media library and make sure you are using the List view. Select which images you'd like to strip metadata from and then select the "WP Strip Image Metadata" bulk action. This can be a resource intensive process, so please only select a handful of images at one time for processing.
Yes, if metadata stripping is enabled then all generated subsizes at the time of upload will have the metadate removed. The included bulk action will also remove metadata from all subsizes as well.
In WP Admin, from your Media library you can select an image and click "Edit" (in List view) or "Edit more details" (in Grid view). On the Edit page for the image, there will be an admin notice at the top with the "expand for image EXIF data" text. This should work for jpg/jpeg files, but other image types may not display EXIF info. You might try uploading a test image with the "Image Metadata Stripping" setting disabled, and then the same image again with the setting enabled to view the difference. Here are some good sample images for testing: https://github.com/ianare/exif-samples/tree/master/jpg/gps Popular image editing applications such as Photoshop or Affinity Photo also have the capability to inspect image metadata which can prove useful.
No, removing image metadata is permanent. If you would like the metadata kept, you should keep an offsite backup copy of your images.
By default the plugin will process jpg/jpeg files. To add other file types you can use the "wp_strip_image_metadata_image_file_types" filter.