public static void AddImageItem( string thumbnailImage, string regularImage, string largeImage, int imageSize, int sortOrder, bool isZoom, bool isEnlarge, int imageWidth, int imageHeight, Culture culture, string altTag, string titleTag ) { ImageItem item = new ImageItem(GetNextImageID(), thumbnailImage, regularImage, largeImage, imageSize, sortOrder, isZoom, isEnlarge, imageWidth, imageHeight, culture, altTag, titleTag); ImageSession.Add(item); }
public static void Clear() { ImageSession.Clear(); HttpContext.Current.Session.Remove(SecondarySessionName); }
public static void RemoveItem(string imageID) { ImageSession.Remove(FindItem(imageID)); }