open the Imagebrowser.php in your nextgen gallery plugin folder and add the following java script after the code.
FIND :
<?php if (!defined (‘ABSPATH’)) die (‘No direct access allowed’); ?><?php if (!empty ($image)) : ?>
———— aDD THE following java script after the above Code ——
<script>
jQuery(document).keydown(function(e){
if (e.keyCode == 37) {
// alert( “left pressed” );
window.location = “<?php echo $image->previous_image_link ?>#pic”;
//alert(‘prev’);
return false;
}
if (e.keyCode == 39) {
window.location = “<?php echo $image->next_image_link ?>#pic”;
//alert(‘next’);
return false;
}
});
</script>
—————————————-
Working 100% Have fun