imageURL missing from get_gallery() command
-
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?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘imageURL missing from get_gallery() command’ is closed to new replies.