Targets targets

Zoom target data. None or more zoom target properties, which may be used in conjunction with the zoom viewer client.

The server returns the content of this field in response to req=targets, after replacing ’ ??’ record terminator tokens.

Up to four properties may be associated with each zoom target:

Target. *num*.frame= *frame*

Target. *num*.rect= *left,top,width,height*

Target. *num*.label= *label*

Target. *num*.userData= *userData*

num
Zoom target number (int); zoom targets must be numbered sequentially and consecutively, starting with 1.
frame
Optional frame/page number for targeting a specific frame/page of a spin or brochure set; defaults to 0 if not specified for spin and brochure viewer use; ignored by the zoom viewer.
left, top
Pixel offset from the top-left of the image to the top-left of the zoom target rectangle (int, int); must be 0 or greater.
width, height
Pixel size of the zoom target rectangle (int, int); must be greater than 0.
label
Text data value; may be used as a text label for a zoom target link.
userData
Text data value; may be used to pass target-specific information to the client, such as a SKU value or hot-link URL.

Target. num.rect is required for each zoom target and must specify a rectangle fully within the image. All other properties are optional.

label and userData participate in text string localization. Refer to Text String Localization in the HTTP Protocol Reference for details.

For applications involving the spin and brochure viewer clients, the zoom targets must be defined in the same catalog record that defines the image set. Any zoom target definitions in the catalog records of the members of the image set are ignored by the viewer.

The Dynamic Media viewers expect zoom targets in the coordinates of the full-resolution image already adjusted by the commands from catalog::Modifier.

Properties section-b3f8eba4985f4b00bb935d592fe770f9

Property data value.

Default section-feab29f6575e482391086a57f547543c

None.

See also section-83dea73b1dbf4aa1b64b0aae2933e6e1

catalog::ImageSet , catalog::Modifier, req=, Text String Localization

recommendation-more-help
a26166cd-f2f4-45ce-996d-96a0f0d6cf49