I would love for this plugin to be tested with the current version of WP. Right now it says it has been 6 years.
]]>When opening the “Crop image” popup from images in the Media Library (so, not from out of editing a post), the following error is being showed:
{"status":"error","message":"wrong attachement"}
Following the code it is from these lines:
$src_file_url = wp_get_attachment_image_src($postId, 'full');
if (!$src_file_url) {
echo json_encode (array('status' => 'error', 'message' => 'wrong attachement' ) );
exit;
}
This only happens when opening from the Media Library itself. When opening the Media Library from a “edit post” page, it just works fine.
]]>Whenever I open the plugin to crop an image the box that was previously there to move and to resize the part of the image that I want does not appear.
Please inform me If this is a known issue or a new one and what can I do.
Thanks in advance
]]>Hello…
I realize that the Plugin is no longer being supported, but this problem has just started for me after upgrading to WordPress 5.2.4, when I go to crop an image:
{“status”:”error”,”message”:”wrong attachement”}
I’ve traced it down to $postId being empty in ManualImageCropEditorWindow.php on line 41 due to $_GET[‘postId’] returning null… but don’t know what to do from there.
Any ideas?
Thanks in advance _/|\_
Boaz
This is not so much a support question, as it is a support suggestion to everyone with the same issue
Combined with EWWW Image Optimizer, your cropped images won’t save because EWWW detects existing files and skips re-compressing, using the old file.
to prevent this,
(wp-config.php)
/**
* Set EWWW in "always overwrite" mode to allow Manual Image Crop to function
*/
define('EWWWIO_EDITOR_OVERWRITE', true);
]]>
Hello,
I ran PHP Compatibility Checker plugin for PHP version 7.0 , and the file lib/ManualImageCrop.php generated the following warning:
1 | WARNING | File has mixed line endings; this may cause incorrect results
I tried the solution in this thread, but it did not fix:
https://www.ads-software.com/support/topic/mixed-line-endings-warning/
Any ideas?
Thanks,
Dean
When I want to crop the image, such mistake appears^
When I want to cut off the image, such mistake appears:
WP_ERROR: UnableToOpenBlob ‘https://xxx.com/wp-content/uploads/wpmembers/user_files/5.jpg’: No such file or directory @ error/blob.c/OpenBlob/3109
What does it mean?
]]>Hi, I’m using this plugin for my site, but for some reason when I cut the image for one of the created sizes, I get a 500 error, I’ve already updated the permissions (777) to the “Uploads” folder. I attach the error.
load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,utils,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,jquery-ui-draggable,jquery-u&load[]=i-tabs,underscore,jquery-ui-resizable,jquery-ui-button,jquery-ui-position,jquery-ui-dialog,quicktags,wp-a11y,wplink,jquery-ui-me&load[]=nu,jquery-ui-autocomplete,plupload&ver=4.8.1:4 POST https://nosfuimos.aviatur.com/wp-admin/admin-ajax.php?action=mic_crop_image 500 (Internal Server)
Hi Tomasz,
Are you still supporting this plugin? We are interested in using it on some sites we are building, however we need ongoing support. Would you be interested in handing over ownership to us so we can support it going forward?
I just ran the PHP Compatibility Checker plugin for PHP version 5.6 , and the file lib/ManualImageCrop.php generated the following warning:
1 | WARNING | File has mixed line endings; this may cause incorrect results
I’m not really clear on how to resolve this myself. I tried simply deleting and re-typing the first line break in my text editor, but that didn’t resolve it. Perhaps you can look into resolving this warning with the next release?
]]>Hello,
since the last WordPress 4.7 update, CSS problems appear when the Manual Image Crop Overlay is rendered. Usabilty is currently not the best, problems seeming related to WordPress Thickbox JavaScript. Do you see any chance for a fix?
Thanks for this Plugin and kind regards,
Carsten
Hello,
In french, crop button doesn’t appear because of JS error :
Uncaught SyntaxError: missing ) after argument list
See error here
The problem is the single quote in the translation.
]]>I’ve used this plugin for a long time on several sites, but recently I noticed my custom crops weren’t being used, all the image sizes were using the “automatic” crop.
I finally traced the problem to JetPack Photon, which is an image-acceleration plugin from Automattic. If I deactivate Photon, I’m seeing all my custom crops.
I don’t really expect this to be changed, I just thought I’d share this in case some other user is wondering why their custom crops aren’t showing up.
]]>I’m using a dutch Locale, and because numbers are formatted with a comma instead of a floating point (I don’t know why). It goes all wrong, I can’t crop anymore in the back end. Hopefully you guys can fix this.
The temp solution I found:
setTimeout(function() {
$('#jcrop_target').Jcrop({
onChange: showPreview,
onSelect: showPreview,
minSize: [<?php echo $minWidth; ?>, <?php echo $minHeight; ?>],
maxSize: [<?php echo $previewWidth; ?>, <?php echo $previewHeight; ?>],
<?php if ( isset( $metaData['micSelectedArea'][$editedSize] ) ) { ?>
setSelect: [<?php echo number_format(max(0, $metaData['micSelectedArea'][$editedSize]['x']), 2, '.', '') ?>, <?php echo number_format(max(0, $metaData['micSelectedArea'][$editedSize]['y']), 2, '.', '') ?>, <?php echo number_format(max(0, $metaData['micSelectedArea'][$editedSize]['x']) + $metaData['micSelectedArea'][$editedSize]['w'], 2, '.', ''); ?>, <?php echo number_format(max(0, $metaData['micSelectedArea'][$editedSize]['y']) + $metaData['micSelectedArea'][$editedSize]['h'], 2, '.', ''); ?>],
<?php }else { ?>
setSelect: [<?php echo number_format(max(0, ($previewWidth - ($previewHeight * $aspectRatio)) / 2), 2, '.', '') ?>, <?php echo number_format(max(0, ($previewHeight - ($previewWidth / $aspectRatio)) / 2), 2, '.', '') ?>, <?php echo number_format($previewWidth * $aspectRatio, 2, '.', ''); ?>, <?php echo number_format($previewHeight, 2, '.', ''); ?>],
<?php }?>
aspectRatio: <?php echo number_format($aspectRatio, 2, '.', '') ?>,
}, function() {
jcrop_api = this;
});
}, 300);
Is number formatting the outcome in ManualImageCropEditorWindow.php starting from line 248.
]]>Hi,
I get this error message when hitting the “crop it” button :
PHP Fatal Erro: Call to undefined method WP_Error::get_size() in /content/plugins/manual-image-crop/lib/ManualImageCrop.php on line 253
]]>Please, how do I do to fix this bug?
]]>Others seem to have the same issue. When I crop the image, everything seems to work but I click to exit the crop tool and the cropped version is not saved.
]]>WP by default doesn’t deal with animated GIFs: it just saves the first frame as a resized image.
There’s a plugin to work around this, aptly named “animated gif resize“.
This plugin, even though it looks old, works OOTB for vanilla WP, but breaks this plugin’s functionality.
When I hit the “Crop it” button, this is the traceback I get (via the browser’s dev console):
Fatal error: Call to a member function getGif() on a non-object in wp-content/plugins/animated-gif-resize/Bbpp_Animated_Gif.php on line 92
Call Stack:
1. {main}() wp-admin/admin-ajax.php:0
2. do_action() wp-admin/admin-ajax.php:89
3. call_user_func_array:{wp-includes/plugin.php:525}() wp-includes/plugin.php:525
4. mic_ajax_crop_image() wp-includes/plugin.php:525
5. ManualImageCrop->cropImage() wp-content/plugins/manual-image-crop/manual-image-crop.php:59
6. Bbpp_Animated_Gif->save() wp-content/plugins/manual-image-crop/lib/ManualImageCrop.php:289
7. Bbpp_Animated_Gif->_save_animated_gif() wp-content/plugins/animated-gif-resize/Bbpp_Animated_Gif.php:13
8. WP_Image_Editor_GD->make_image() wp-content/plugins/animated-gif-resize/Bbpp_Animated_Gif.php:103
9. WP_Image_Editor->make_image() wp-includes/class-wp-image-editor-gd.php:487
10. call_user_func_array:{wp-includes/class-wp-image-editor.php:423}() wp-includes/class-wp-image-editor.php:423
11. Bbpp_Animated_Gif->_save_animated_gif_file() wp-includes/class-wp-image-editor.php:423
I realize this may be a bug with the other plugin, but since the other isn’t maintained, and it actually works for vanilla WP, I thought you might want to look into it.
Thanks!
]]>Hello,
For some reason this plugin (which I love otherwise) brings up an old version of my front page. When I deactivate the plugin and refresh it brings up the correct page, but it happens over and over again. It doesn’t happen every time I post a new article, but it’s definitely happening when I post a few of them.
Thanks
]]>I found a conflict with Photon, and that hasn’t been addressed. I am using the most recent version of WordPress and Genesis, but this plugin has again stopped working. It used to work well, but doesn’t crop the images any more.
Are you going to update it and fix it, or is it dead?
]]>If I install Advanced Custom fields Pro plugin the manual image crop stops working.
The selection tool in the crop window does not appear.
]]>Since I moved my client’s site from a sub-domain (demo.) to the live space the image crops I had previously implemented are not working. I believe this is a tracking issue, but I am unsure. I can see in my FTP files that all the hard crops are still there, so I don’t think data has been lost… but is there a simple fix for this?
]]>jQuery(this).after( '<a rel="crop" title="Manual Image Crop" href="' + ajaxurl + '?action=mic_editor_window&postId=' + match[1] + '">Recadrer l'image</a>' );
French Translation quotes is not escaped. So, the javascript is crashing.
]]>Is there an option for use with external storage?
The plugin works great when using the default image locations, but we use azure to store all our images, and crop wont work as the plugin doesnt have permissions to access the images
]]>I have these sizes available for the image I uploaded: thumbnail, medium, large, thumbnail-cropped, huge, rssfeed-landscape
However I can only modify thumbnail and rssfeed-landscape with this plugin:
https://dl.dropboxusercontent.com/s/l7afk86offse7hl/2015-12-01_10-24-56.jpg?dl=0
Three of these sizes: thumbnail-cropped, huge, rssfeed-landscape; are being added by my custom built theme using “add_image_size()” during the “after_setup_theme” action hook (default priority, 10).
Is there a way to specify what image sizes should be used? I would actually like it to only use my custom image sizes, not the WP default images (thumbnail, medium, large).
Great plugin otherwise. Hopefully I can get this fixed.
]]>in file /lin/ManualImageCropSettingsPage.php line #92
there is function
add_settings_field
, but it should be
add_settings_section
Hi there
Form what I can see the installation of the Yoast SEO 3.0+ plugin is stopping the crop box from appearing. Any ideas why this is? Is this a fault of this plugin or Yoast?
]]>I have just discovered that this plugin doesn’t work with Jetpack’s Photon. Once I turned Photon off, the Featured Images displayed the way they were cropped by the Manual Image Crop plugin.
]]>Where can we find examples of the UI?
]]>Hi All
Do we have documentation on how to use this plugin in details?
Actually I am trying to to know how the plugins work and also share it with my client to help them.
Thanks in advance ??
]]>