Example #1
0
 public string ImageUrl(COM.Enum.ImageTypes ImageType, string PhotoName, int PhotoSize)
 {
     if (PhotoName.IndexOf("http://profile.ak.fbcdn.net") != -1)
     {
         return(PhotoName);
     }
     else
     {
         return("~/Image.ashx?t=" + ((int)ImageType).ToString() + "&p=" + COM.Util.genPhotoNameOfSize(PhotoName, PhotoSize) + "&sz=" + PhotoSize.ToString());
     }
 }
Example #2
0
 public string ImageUrl(COM.Enum.ImageTypes ImageType, string PhotoName, COM.Enum.PhotoSizes PhotoSize)
 {
     return(ImageUrl(ImageType, PhotoName, (int)PhotoSize));
 }