Call to undefined method nggGallery::get_image_url()
-
I get an “Call to undefined method nggGallery::get_image_url()” error in my wordpress-searchresults.
In my search.php i got:
if (function_exists ('ngg_get_search_pictures')) { $nggpictures = ngg_get_search_pictures($keywords, ''); if ($nggpictures) { echo "<h2 class='post-title'>search results for '$s':</h2>"; echo $nggpictures; } else { // Code } }
in the function function ngg_get_search_pictures i have this code which raises the error:
$out .= '<a href="'.nggGallery::get_image_url($pic["pid"]).'" title="'.stripslashes($pic[description]).'" class="shutterset_set_1" rel="singlepic'.$pic[pid].'">';
how can i fix this?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Call to undefined method nggGallery::get_image_url()’ is closed to new replies.