Create lgallery.php