• MonioDesign

    (@moniodesign)


    For some strange reason the ‘imageURL’ field from the image object created by get_gallery() seems to be missing in the latest update meaning my script is failing to get the full size image, see below script:

    if(isset($gallery->displayed_gallery->container_ids) && is_array($gallery->displayed_gallery->container_ids)){
    	global $nggdb;
    	foreach($gallery->displayed_gallery->container_ids as $i){
    		$images = $nggdb->get_gallery($i, 'sortorder', 'ASC', true, 0, 0);
    	}
    }
    
    // Get Images
    $gallery_images = array();
    foreach($images as $image){
    	$gallery_images[] = nextgen_esc_url($image->imageURL);
    }

    imageURL just doesn’t exist any more within that object, was it removed for some reason? If so is there another way to get the full URL of that given image?

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @moniodesign – We are correcting this issue as soon as we can … it should be in the next update we are working on right now although it could be another day or two while we test the corrections more thoroughly.

    – Cais.

    Thread Starter MonioDesign

    (@moniodesign)

    Ok that’s great to hear, thought I was going mad!

    Will revert to the previous version for the time being.

    Plugin Contributor photocrati

    (@photocrati)

    @moniodesign – Thanks for the follow-up … we’re working on these corrections as quickly as we can.

    – Cais.

    @moniodesign – Just wanted to let you know we’ve just released a quick beta that has a fix for this, among other things. If you want to try that, you can download it here:

    https://www.nextgen-gallery.com/nextgen-gallery-latest-beta/

    Otherwise, it should be officially released in another day or so.

    Thanks! (Erick)

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘imageURL missing from get_gallery() command’ is closed to new replies.