Support » Fixing WordPress » IMAGES HELP wp3.3.1

  • Say i go to this page, or any page on my site. when you click on the thumbnail, it just continues to load and not do anything. we’ve ad a problem, and hope updating WP and plugins would help, but still doesn’t. Anyone have any help?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Check all your settings re NextGen Gallery and Thickbox.

    i have no idea what im doing, really. someone set it up years ago and i need to fix it, but dont want to pull the whole thing down…

    here is the bit of code i get when i run with error checking

    Uncaught TypeError: Cannot call method ‘match’ of undefined
    TB_show thickbox.js:80
    (anonymous function)thickbox.js:28
    thickbox.js:346Uncaught ReferenceError: TB_WIDTH is not defined
    f.event.dispatch jquery.js:3

    I think it’s in the thickbox.js but i have no idea where to edit this at or how to fix it…

    i think it’s in this code… (where the uncaught typeerror is)

    // find the anchors that point to the group
    var imageGroup = jQuery(“a[rel=”+rel+”]”).get();
    var foundSelf = false;
    var imageTitle = ‘Gallery’; //default to something sane
    // loop through the anchors, looking for ourself, saving information about previous and next image
    for (var i = 0; i < imageGroup.length; i++) {
    var image = imageGroup[i];
    var urlTypeTemp = image.href.match(imageURL);
    Uncaught TypeError: Cannot call method ‘match’ of undefined

    // look for ourself
    if ( image.href == url ) {
    foundSelf = true;
    imageCount = “Image ” + (i + 1) + ” of “+ (imageGroup.length);
    if(image.rel != null) {
    imageTitle = image.rel.replace(/_/, ” “);
    } else {
    // when we found ourself, the current is the next image
    if ( foundSelf ) {
    next = getInfo(image, “next”, “Next >”);
    // stop searching
    } else {
    // didn’t find ourself yet, so this may be the one before ourself
    prev = getInfo(image, “prev”, “< Prev”);

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘IMAGES HELP wp3.3.1’ is closed to new replies.