AutoGeneratedImagesSettingsBase.ImageCacheFolder Property
Gets or sets the path to the folder that contains cached images.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Property Value
Type | Default | Description |
---|---|---|
String | String.Empty | A string value specifying the path to the folder. |
Remarks
For the ASPxImageSlider control.
When the ASPxImageSliderBase.ImageSourceFolder property is specified and the ImageSliderAutoGeneratedImagesSettings.EnableImageAutoGeneration property is set to
true
, the control caches the images from the source folder to the folder specified by the ImageCacheFolder property.For the ASPxImageZoomNavigator control.
When the ASPxImageSliderBase.ImageSourceFolder property is specified, the control caches the images from the source folder to the folder specified by the ImageCacheFolder property.
You can use the ASPxImageSliderBase.UpdateImageCacheFolder method to update the content of the cache folder.
Note
By default, images are cached to the public “~\Thumb\“ folder. This can result in unauthorized access to private files. Therefore, we recommend you set restricted access for this folder.