WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Image Cropper
[resolved] Just doesn't work for me (12 posts)

  1. sigf
    Member
    Posted 3 years ago #

    Installed the plugin fine. It gives the 'crop' link next to the images. It loads the crop popup. However, when I click save it pauses for a second and then behind the popup I can see that it has reloaded the gallery page (above the previous gallery page) but highlighted in a red box. I assume this is because it cannot generate a error message so just reloads the page in the error box.
    Basically, the image isn't cropped.

    http://wordpress.org/extend/plugins/nextgen-image-cropper/

  2. mitchmccoy
    Member
    Plugin Author

    Posted 3 years ago #

    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.

  3. sigf
    Member
    Posted 3 years ago #

    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.

  4. mitchmccoy
    Member
    Plugin Author

    Posted 3 years ago #

    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?

  5. sigf
    Member
    Posted 3 years ago #

    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.

  6. jb1013
    Member
    Posted 2 years ago #

    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.

  7. jb1013
    Member
    Posted 2 years ago #

    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?

  8. cjseattle
    Member
    Posted 2 years ago #

    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

  9. wakingmedia
    Member
    Posted 2 years ago #

    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!

  10. groundchuck
    Member
    Posted 2 years ago #

    Anyone have any luck fixing this? I really need to get this plugin working.

    Thank you!

  11. groundchuck
    Member
    Posted 2 years ago #

    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.

  12. davmartinuk
    Member
    Posted 2 years ago #

    Thank you, this did work for me. It is a shame about the Cache issues, but hey!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic