Skip to main content

ImageGallerySettings.ImageCacheFolder Property

Gets or sets the path to the folder that contains cached images.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5


public string ImageCacheFolder { get; set; }

Property Value

Type Description

A string value specifying the path to the folder.


When the ImageGallery extension is bound to a folder, the ImageGallery caches the images from the source folder to the folder specified via the ImageCacheFolder property.


By default, images are cached to the public “~\Thumb\“ folder that can result in unauthorized access to private files, therefore we recommend you set restricted access for this folder.

See Also