You are here: Reference > Hand-Editing Configuration Files > Configuring Catalogs Using XML Files > The ThumbSpec Element

The ThumbSpec Element

The ThumbSpec element specifies characteristics of thumbnail images produced by Express Server.

A catalog may contain 0 or more ThumbSpec elements, each of which defines the parameters for generating thumbnails of that type. Thumbspecs are used in the web API when requesting thumbnails.

The ThumbSpec element contains the following editable attributes:

name

The name of the thumbspec. This is used in getthumb requests to specify which thumbspec to use when generating the thumbnail.

width

The width of the bounding box of the thumbnail image.

height

The height of the bounding box of the thumbnail image.

NOTE: Express Server has three built-in thumbspecs: small (32x32), medium (64x64), and large (128x128). Each of these outputs to JPEG format.

Examples: The ThumbSpec Element

http://myserver.com/lizardtech/iserv/getthumb?cat=Nevade&item=LV.sid&thumbspec=small
http://myserver.com/lizardtech/iserv/getthumb?cat=Nevade&item=LV.sid&thumbspec=large
http://myserver.com/lizardtech/iserv/getthumb?cat=Nevade&item=LV.sid&thumbspec=200wide