it is working on the other site because he slo edited the Gallery/galleries/grid_lightbox/js/gallery.js file.
he changed:
window.addEvent('domready', function() {
$$('.pg-gl').each(function(wrapper) {
if(!wrapper.hasClass('pg-init')) new pgGridLightbox(wrapper);
wrapper.addClass('pg-init');
});
});
to:
window.addEvent('domready', function() {
$$('.pg-gl').each(function(wrapper) {
if(!wrapper.hasClass('pg-init')) new pgGridLightbox(wrapper);
wrapper.addClass('pg-init');
wrapper.setStyle('display','block');
});
});