This demo illustrates how to use the ImageGallery extension by specifying a single property. All you need to do to start working with the DevExpress image gallery is to pass the required folder path as a parameter to the BindToFolder method – and the extension is ready to use. Images are scaled and thumbnails are created automatically.
In this demo, the Apply watermark check box allows you to apply a watermark to images by handling the CustomImageProcessing event.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxImageAndDataNavigationDemos