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 *
Zoom target number (int); zoom targets must be numbered sequentially and consecutively, starting with 1.
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.
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.
Pixel size of the zoom target rectangle (int, int); must be greater than 0.
Text data value; may be used as a text label for a zoom target link.
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 Scene7 viewers expect zoom targets in the coordinates of the full-resolution image already adjusted by the commands from catalog::Modifier .
Property data value.