Sitecore 5.1.1 API

Settings.ThumbnailWidth Property

Gets the maximum width of auto-generated image thumbnails.

[Visual Basic]
Public Shared ReadOnly Property ThumbnailWidth As Integer
[C#]
public static int ThumbnailWidth {get;}

Property Value

Default value: 0

Remarks

When images are uploaded to the media library, a thumbnail is generated (see GenerateThumbnails).

If zero, the ThumbnailHeight property decides the size (scaling is done proportionally).

See Also

Settings Class | Sitecore.Configuration Namespace