Method | Description | |
---|---|---|
DeleteImage ( |
||
EnsureDirectory ( string directoryPath ) : void | ||
GalleryVirtualUrl ( int categoryid ) : string |
Returns the url path to the gallery for the specified category.
|
|
GetFileStream ( HttpPostedFile objFile ) : byte[] |
gets the bytes for the posted file
|
|
GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection | ||
GetSingleImage ( int imageId, bool activeOnly ) : |
||
InsertImage ( |
Inserts the image.
|
|
LocalGalleryFilePath ( int categoryid ) : string |
Returns the physical gallery path for the specified category.
|
|
MakeAlbumImages ( |
Saves two images. A normal image for the web site and then a thumbnail.
|
|
ResizeImage ( int width, int height, int maxWidth, int maxHeight ) : |
||
SaveImage ( byte buffer, string fileName ) : bool |
Saves the image.
|
|
Update ( |
||
UpdateImage ( |
Updates the image.
|
|
ValidateFile ( string filepath ) : bool |
Validates that the file is allowed.
|
public static DeleteImage ( |
||
image | ||
return | void |
public static EnsureDirectory ( string directoryPath ) : void | ||
directoryPath | string | |
return | void |
public static GalleryVirtualUrl ( int categoryid ) : string | ||
categoryid | int | The categoryid. |
return | string |
public static GetFileStream ( HttpPostedFile objFile ) : byte[] | ||
objFile | HttpPostedFile | The obj file. |
return | byte[] |
public static GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection | ||
catID | int | |
activeOnly | bool | |
return | ImageCollection |
public static GetSingleImage ( int imageId, bool activeOnly ) : |
||
imageId | int | |
activeOnly | bool | |
return |
public static InsertImage ( |
||
image | The image. | |
Buffer | byte | The buffer. |
return | int |
public static LocalGalleryFilePath ( int categoryid ) : string | ||
categoryid | int | The categoryid. |
return | string |
public static MakeAlbumImages ( |
||
image | Original image to process. | |
return | void |
public static ResizeImage ( int width, int height, int maxWidth, int maxHeight ) : |
||
width | int | |
height | int | |
maxWidth | int | |
maxHeight | int | |
return |
public static SaveImage ( byte buffer, string fileName ) : bool | ||
buffer | byte | The buffer. |
fileName | string | Name of the file. |
return | bool |
public static Update ( |
||
image | ||
buffer | byte | |
return | void |
public static UpdateImage ( |
||
image | The image. | |
return | void |
public static ValidateFile ( string filepath ) : bool | ||
filepath | string | The filepath. |
return | bool |