Skip to main content
Tab

ImageGalleryItem.ThumbnailUrl Property

Gets or sets the path to the item thumbnail.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.2.dll

Declaration

[DefaultValue("")]
public string ThumbnailUrl { get; set; }

Property Value

Type Default Description
String String.Empty

A String value that specifies the path to the thumbnail.

Remarks

Use the ThumbnailUrl property to specify a URL that is the path to the item thumbnail. If the ASPxImageGallery is bound to a data source, you can specify the data source’s data field (or an xml element’s attribute) which stores the locations of item thumbnails by the ASPxImageGallery.ThumbnailUrlField property.

If the ThumbnailUrl property is not specified, a thumbnail is automatically created from the image specified by the ImageGalleryItem.ImageUrl property.

When the AccessibilityCompliant property is enabled, an alternative text for a gallery image is obtained from the ImageGalleryItem.Text property. If the ImageGalleryItem.Text property is not specified, an image’s filename and extension (saved within the ThumbnailUrl property) are used to define its alternative text.

See Also