Exemple #1
0
        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);
        }
Exemple #2
0
        public static void UpdateSortOrder(string imageID, int sortigOrder)
        {
            ImageItem item = FindItem(imageID);

            item.SortOrder = sortigOrder;
        }