Check your browser error console for any javascript errors. It sounds like the cropping form is not submitting properly because of an error. Post any errors here.
Thread Starter
sigf
(@sigf)
Thanks for the response. Sadly there are no errors in the console. Are there any known conflicts between this and common plugins? I seem to get no response from many ‘add-ins’ such as the tinymce nextgen description plugin.
It’s definitely a Javascript issue. The fact that you see the ‘Crop’ link and the image dialog popup means that some of the javascript is working. The form submission code is not however. Line 97 of /js/gallery.js is the form submission code. what browser/version are you using? Are you using jquery 1.6 or above?
Thread Starter
sigf
(@sigf)
I running the Google library jquery, which I believe is 1.7.1.
I am using Chrome, and I don’t get their version numbers but it’s up to date (and says 16.0.912.75)
I’ve also tried it on Safari, with the same result.
I can confirm this exact behavior.
WordPress 3.2.1, Genesis 1.8 Framework.
When you click save it opens up the entire Manage Gallery page in the Shadowbox for a bit, then goes right back to the Crop image window. When you close the Crop Image window there is an error message window open with the entire Manage Gallery Page embedded in it.
Firebug did not bring up any warnings or errors.
Had high hopes for this plugin, I think its badly needed as a core feature.
Sorry I’m actually on 3.3.1, plugin says its only tested to 3.2.1, so maybe it needs to be updated for 3.3.1?
I’m having the same basic problem. WordPress 3.3.1. Firefox 10/Mac.
After firing the POST, it GETs wp-admin/load-scripts.php, and seemingly tries to get all of the scripts associated with this plugin again. I can send a screenshot from Firebug if that’s helpful.
In Firebug, here’s the content of the POST:
pictureID=1&ngg_crop%5Bcropprocess%5D=1&ngg_crop%5Bx1%5D=0&ngg_crop%5By1%5D=0&ngg_crop%5Bx2%5D=2000&ngg_crop%5By2%5D=1076&ngg_crop%5Boptimizeforhome%5D=1&ngg_crop%5Bcropwidth%5D=2000&ngg_crop%5Bcropheight%5D=1076
ngg_crop[cropheight] 1076
ngg_crop[cropprocess] 1
ngg_crop[cropwidth] 2000
ngg_crop[optimizeforhome] 1
ngg_crop[x1] 0
ngg_crop[x2] 2000
ngg_crop[y1] 0
ngg_crop[y2] 1076
pictureID 1
I am having the same problem. Any news on this?
When I “view source” on my site – it shows:
<script type=’text/javascript’ src=’http://mysite.com/wp-includes/js/jquery/jquery.js?ver=1.7.1′></script>
So – I assume that should be enough for the jquery requirements, right?
Is there anything else to try?
Thanks!
Anyone have any luck fixing this? I really need to get this plugin working.
Thank you!
Figured it out! On line 30 of imagecrop.php:
<form class="ngg_crop_form" action="<?=$_SERVER['REDIRECT_URL']?>" method="post">
I changed it to:
<form class="ngg_crop_form" action="<?=$_SERVER['REQUEST_URI']?>" method="post">
And the plugin works. Eventually some servers don’t support $_SERVER[‘REDIRECT_URL’]. I’m on Hostgator and I guess they don’t.
Thank you, this did work for me. It is a shame about the Cache issues, but hey!