private bool createGallery( )
{
this.PHImageGallery.Visible = true;
this.tripGallery = new Gallery();
this.tripGallery.ID = ( string )Session["tripid"];
this.tripGallery.Column = 5;
this.tripGallery.Width = 650;
this.tripGallery.MaxImageWidth = 1024;
//this.tripGallery.BackColor = "white";
this.tripGallery.CellPadding = 5;
this.tripGallery.AutoResizeUploadedImages = true;
this.tripGallery.CellSpacing = 5;
//this.tripGallery.ForeColor = 000000;
//this.tripGallery.BorderColor = cc0000;
//this.tripGallery.BorderStyle = solid;
this.tripGallery.BorderWidth = 0;
//this.tripGallery.CssClass = container;
this.tripGallery.ShowUpload = true;
this.tripGallery.ShowEditDescription = true;
this.tripGallery.ShowThumbNailName = true;
this.tripGallery.ShowThumbNailSize = true;
this.tripGallery.ShowThumbNailDate = false;
this.tripGallery.ShowThumbNailDescription = true;
this.tripGallery.ShowDescriptioninIndexView = false;
this.tripGallery.FolderPath = "~/TTCommunity/tripsgalleries" + "/" + ( string )Session["userid"] + "/" + ( string )Session["tripid"];
this.PHImageGallery.Controls.Add( this.tripGallery );
return true;
}