• NextGEN 1.2.1 on WP 2.7.1: The image manipulation functions under ‘Manage Gallery’, accessible via the drop-down menu on the left of the header above the image list (followed by clicking ‘OK’) don’t work.

    This was a pain to debug, but it turns out the bizarre design pattern of posting the form, then rendering javascript into the page layout, hooking into the document.ready event, doesn’t work properly. I suspect it is because there’s already a document.ready event callback specified in an external javascript, which is overriding the version in the page layout.

    This occurs in admin/functions.php, lines 946-949.

    As a stop-gap measure, so I could rebuild my thumbnails, I commented out the lines as follows:

    //jQuery(document).ready( function(){
    				nggProgressBar.init( nggAjaxOptions );
    				nggAjax.init( nggAjaxOptions );
    			//} );

    The progress bar doesn’t work, obviously, but at least the ajax works, and the operation succeeds.

    I would suggest rewriting this part to use a more sensible method to kick off the function – perhaps write a method in the external javascript library to begin the process, instead of reloading the whole page to perform an ajax routine (which kinda defeats the purpose)

    Anyway, just a heads-up

Viewing 1 replies (of 1 total)
  • Which plugins do you have running ? I’ve no problem with this JS method. This code is needed to avoid script execution timeout, because the thumbnail process requires a lot of cpu time.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: NextGEN Gallery] NextGen’s image admin functions don’t work’ is closed to new replies.