I get this message in wordpress:
WP Strip Image Metadata: compatible image processing library not found. This plugin requires the “Imagick” or “Gmagick” PHP extension to function – please ask your webhost or system administrator if either can be enabled.
Where can I download these files?
]]>Hi,
this plugin is not supported for WP version 6.1.1
Are you planning the maintenance of this plugin?
]]>Hi!
After installing the plugin all seemed fine, but it was noticed that many newly uploaded images were now displaying sideways, so the plugin was disabled.
The plugin default settings were used:
Image Metadata Stripping = Enabled
Preserve ICC Color Profile = Enabled
Preserve Image Orientation = Enabled
Log Errors = Enabled
Plugin Information – Compatible image processing library active: Imagick 3.7.0
– some images which were photographed using iphone camera were sideways, but not all.
– some images which were photographed using android camera were sideways, but not all.
– and so on, randomly occuring.
– it was noticed that the original metadata included [orientation] value, after stripping then this [orientation] value was gone. Is this expected, given the setting “Preserve Image Orientation = Enabled”?
Please advise if possible.
Thanks.
Site info:
Wordpress 6.0.2
Twenty Sixteen Theme
Buddypress 9.1.1
rtmedia used to upload images by users to WP Media Gallery.
Better Messages plugin used to send images as attachments to private messages between users.
Thank you for creating this! wonderful time saver!
1 issue I came across that -scaled images block the plugin from functioning and return the error: WP Strip Image Metadata: unable to locate all image paths. This might be due to a non-standard WordPress uploads directory location.
Is there a way to add these images as well?
thanks again!
]]>Hi there,
I’ll start by saying thanks for this plugin! It’s simple and does what it suppose to do. I love that you kept it simple and clean.
However, I can’t decide if this is a bug or if this is just a feature. But when I upload images and keeping the orientation the image is not oriented correctly. The orientation is lost. It does however seem to exist in exif. I’m currently using Imagick and according the the documentation the image isn’t automatically rotated when setting the orientation, which seems to be the problem for me.
But if I replace the setOrientation part of your code with the following code, it works as I expect.
// Add back $orientation if present.
if ( $orientation ) {
try {
$imagick->setImageOrientation( $orientation );
switch ($orientation) {
case 8:
$imagick->rotateimage("#000", -90);
break;
case 3:
$imagick->rotateimage("#000", 180);
break;
case 6:
$imagick->rotateimage("#000", 90);
break;
}
} catch ( \Exception $e ) {
self::logger( 'WP Strip Image Metadata: error while setting image orientation using Imagick: ' . $e->getMessage() );
}
}
As I said, I’m not sure if this is another feature of if it’s a bug. But I think it would be better to automatically rotate the image. Maybe add it as an admin option?
]]>This is so super helpful, I can’t get enough! I never knew I needed this until now. Now I feel secure uploading images from my iPhone to my site.
]]>