Create gallery.class.inc.php