메소드 | 설명 | |
---|---|---|
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 | ||
리턴 | void |
public static EnsureDirectory ( string directoryPath ) : void | ||
directoryPath | string | |
리턴 | void |
public static GalleryVirtualUrl ( int categoryid ) : string | ||
categoryid | int | The categoryid. |
리턴 | string |
public static GetFileStream ( HttpPostedFile objFile ) : byte[] | ||
objFile | HttpPostedFile | The obj file. |
리턴 | byte[] |
public static GetImagesByCategoryID ( int catID, bool activeOnly ) : ImageCollection | ||
catID | int | |
activeOnly | bool | |
리턴 | ImageCollection |
public static GetSingleImage ( int imageId, bool activeOnly ) : |
||
imageId | int | |
activeOnly | bool | |
리턴 |
public static InsertImage ( |
||
image | The image. | |
Buffer | byte | The buffer. |
리턴 | int |
public static LocalGalleryFilePath ( int categoryid ) : string | ||
categoryid | int | The categoryid. |
리턴 | string |
public static MakeAlbumImages ( |
||
image | Original image to process. | |
리턴 | void |
public static ResizeImage ( int width, int height, int maxWidth, int maxHeight ) : |
||
width | int | |
height | int | |
maxWidth | int | |
maxHeight | int | |
리턴 |
public static SaveImage ( byte buffer, string fileName ) : bool | ||
buffer | byte | The buffer. |
fileName | string | Name of the file. |
리턴 | bool |
public static Update ( |
||
image | ||
buffer | byte | |
리턴 | void |
public static UpdateImage ( |
||
image | The image. | |
리턴 | void |
public static ValidateFile ( string filepath ) : bool | ||
filepath | string | The filepath. |
리턴 | bool |