Hi,
Request someone to post/ list out the modifications required to get javascript image effect (AJAX effect) in the version 1.3 of next-gen; I use lightbox effect.
Thanks,
Rajesh
Hi,
Request someone to post/ list out the modifications required to get javascript image effect (AJAX effect) in the version 1.3 of next-gen; I use lightbox effect.
Thanks,
Rajesh
Sorry, the solution is not so trivial as it should be :
1. Copy the script js/ngg.js to your theme folder
2. Add the script to your header
3. Change the script at the follow lines :
line 67,68 and 133,134
// add shutter-listeners again
shutterReloaded.init('sh');
for Lightbox it should be instead (never tested)
lightbox.updateImageList();
Hope this works for your
Hi,
I did the changes in those two lines and put the ngg.js in the js folder of my theme (I use K2).
I added this line to the k2-hook-up (plugin) header portion:
<script type="text/javascript" src="<?php bloginfo('template_directory'); ?>/js/ngg.js"></script>
Didn't seem to work! Any suggestions?
Thanks,
Rajesh
I forgot that you need to define as well the path, ebfore you add the script itself :
So please add before :
<script type='text/javascript'>
/* <![CDATA[ */
var ngg_ajax = {
path: "http://your.blog.com/wp-content/plugins/nextgen-gallery/",
loading: "loading"
};
/* ]]> */
</script>Thanks Alex. It's working with a little problem: the loading image near the cursor is still present even the new gallery page is loaded.
Is this required to just activate the lightbox effect?
Hi Alex,
Thanks for posting this. I'm using nextgen with highslide. The code you posted works but there's one thing I would like to adjust.
Going forward keeps me on the same page, but if I go back it will either reload the page or take me off the main index page to the specific post page. Do you know where I would look to correct this so it doesn't take the user away from the current page?
Thanks for your help,
Michael
You must log in to post.