Add lightbox before making gallery