Back to Devexpress

ImageGallerySettings.ImageCacheFolder Property

aspnetmvc-devexpress-dot-web-dot-mvc-dot-imagegallerysettings-7496d76f.md

latest1.6 KB
Original Source

ImageGallerySettings.ImageCacheFolder Property

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

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public string ImageCacheFolder { get; set; }
vb
Public Property ImageCacheFolder As String

Property Value

TypeDescription
String

A string value specifying the path to the folder.

|

Remarks

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.

Note

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

ImageGallery

ImageGallerySettings Class

ImageGallerySettings Members

DevExpress.Web.Mvc Namespace