The DevExpress ASP.NET MVC ImageZoom extension has the ability to display images from a binary stream. The editor content (an array of bytes) that will be displayed in the preview image and zoom window, can be specified by the ImageContentBytes and LargeImageContentBytes properties respectively.
ImageZoom caches binary images to the folder specified by the SettingsAutoGeneratedImages.ImageCacheFolder property. The cached image sizes can be specified by using the following properties.
- ImageWidth specifies the width of cached images that will be displayed in the preview image element.
- ImageHeight specifies the height of cached images that will be displayed in the preview image element.
- LargeImageWidth specifies the width of cached images that will be displayed in the zoom window element.
- LargeImageHeight specifies the height of cached images that will be displayed in the zoom window element.
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).
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxImageAndDataNavigationDemos |