Nextgen 2.0.76 path error
-
I have been using next function to recover galleries:
<?php global $nggdb;
$gallery2 = $nggdb->get_gallery (‘homepage’, ‘sortorder’, ‘ASC’, true, 0, 0);
foreach($gallery2 as $image) { ?>
<div><img alt=”<?php bloginfo(‘name’);?>” src=”<?php echo $image->imageURL;?>”/></div><?php } ?>I migrated the website to a new server and installed new Nextgen Version and now I found next:
1. ‘homepage’ name does not work. I have to put gallery id to receive information.
2. $image->imageURL returns website path/image_name and not gallery path.Anyone can help?
thank you
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Nextgen 2.0.76 path error’ is closed to new replies.