bananafish
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] nggtags captionI’m a looser
function nggShowGalleryTags($taglist, $template = ”) {
// $_GET from wp_query
$pid = get_query_var(‘pid’);
$pageid = get_query_var(‘pageid’);// get now the related images
$picturelist = nggTags::find_images_for_tags($taglist , ‘ASC’);// look for ImageBrowser if we have a $_GET(‘pid’)
if ( $pageid == get_the_ID() || !is_home() )
if (!empty( $pid ) && ($template != ‘carousel’) ) {
foreach ($picturelist as $picture) {
$picarray[] = $picture->pid;
}
$out = nggCreateImageBrowser($picarray);
return $out;
}Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] nggtags captionI’ve solved it! )) change text in bold
function nggShowGalleryTags($taglist, $template = '') { // $_GET from wp_query $pid = get_query_var('pid'); $pageid = get_query_var('pageid'); // get now the related images $picturelist = nggTags::find_images_for_tags($taglist , 'ASC'); // look for ImageBrowser if we have a $_GET('pid') if ( $pageid == get_the_ID() || !is_home() ) if (!empty( $pid ) <strong>&& ($template != 'carousel')</strong> ) { foreach ($picturelist as $picture) { $picarray[] = $picture->pid; } $out = nggCreateImageBrowser($picarray); return $out; }
Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] nggtags captionp.s. I’m using carousel template, and I think the promlem is in it, because in function nggShowGallery
we have:// 1st look for ImageBrowser link
if ( !empty($pid) && $ngg_options[‘galImgBrowser’] && ($template != ‘carousel’) ) {
$out = nggShowImageBrowser( $galleryID, $template );
return $out;
}But I don’t understand php,
what must I change in function nggShowGalleryTags ?Forum: Plugins
In reply to: [Plugin: NextGEN Gallery] nggtags captionHello!
I tryed to use your solution, but I still have some promblems:
It works great, but only with first image in gallery, and when I go to the next image, I have standart imagebrowser!https://qzone.selfip.com/wordpress/portfolio/poster – there is my page
I used the next shortcode for it:
[nggtags gallery=poster template=carousel images=8 ]Thank you
Forum: Plugins
In reply to: NextGEN Gallery galleryview only showing large white boxHello! I have the same problem!
Have you solved it?