Topbar
Topbar
Sign in
|
Join
|
Client Center
Home
Products
Client Center
Contact
Purchase
Support forums
»
Products
»
ASP.Net Image Gallery
»
Here is my code
Here is my code
08-03-2005, 12:27 PM
nit115
Joined on 07-28-2005
Posts 4
Here is my code
Reply
Quote
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
;
}
View Complete Thread