Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Collapse]ASP.NET WebForms Controls
  [Expand]Reporting
  [Expand]Chart Control
  [Expand]Grid View
  [Expand]Card View
  [Expand]Vertical Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Collapse]Image and Data Browsing
   [Expand]Product Information
   [Expand]DataView
   [Expand]Headline
   [Expand]Image Gallery
   [Expand]Image Slider
   [Collapse]Image Zoom
     ASPxImageZoom Overview
    [Collapse]Image Caching
      Image Caching
    [Expand]Visual Elements Overview
   [Expand]News Control
   [Expand]Pager
  [Expand]Docking and Popups
  [Expand]Site Navigation and Layout
  [Expand]File Management
  [Expand]Multi-Use Site Controls
  [Expand]Scheduler
  [Expand]HTML Editor
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Gauges
  [Expand]Data Editors
  [Expand]Spell Checker
  [Expand]Query Builder
 [Expand]ASP.NET MVC Extensions
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Image Caching

Expanded Image Zoom

When the ASPxImageZoom control displays binary images, which can be specified using the ASPxImageZoom.ImageContentBytes and ASPxImageZoom.LargeImageContentBytes properties, the control caches the source images and saves the cached images to the folder specified by the ImageZoomAutoGeneratedImagesSettings.ImageCacheFolder property.

You can specify sizes of cached images using the members listed below.

The ASPxImageZoom.BinaryImageUrl and ASPxImageZoom.BinaryLargeImageUrl properties provide access to the cached image URLs.

Expanded Image Zoom Navigator

When the ASPxImageSliderBase.ImageSourceFolder property is specified, the ASPxImageZoomNavigator control caches the source images and saves the cached images to the folder specified by the AutoGeneratedImagesSettingsBase.ImageCacheFolder property.

For every source image, the ASPxImageZoomNavigator control creates three cached images to be displayed in the preview image, zoom window, and thumbnail elements. You can specify sizes of cached images using the members listed below.

You can update content of a cache folder using the ASPxImageSliderBase.UpdateImageCacheFolder method.

View the Demo

To see this feature in action, please refer to the following online demo: Image Zoom - Binding to Binary Data

How would you rate this topic?​​​​​​​