Go to the documentation of this file.00001 using System;
00002 using System.Collections.Generic;
00003 using System.Linq;
00004 using System.Text;
00005 using System.Configuration;
00006 using N2.Web.Drawing;
00007
00008 namespace N2.Configuration
00009 {
00010 [ConfigurationCollection(typeof(ImageSizeElement))]
00011 public class ImageSizesCollection : LazyRemovableCollection<ImageSizeElement>
00012 {
00013 public ImageSizesCollection()
00014 {
00015 AddDefault(new ImageSizeElement { Name = "", Width = 500, Height = 500, Replace = true });
00016 AddDefault(new ImageSizeElement { Name = "icon", Width = 16, Height = 16, Mode = ImageResizeMode.Fill });
00017 AddDefault(new ImageSizeElement { Name = "original", Width = 0, Height = 0 });
00018 }
00019 }
00020 }