The graphic object is implemented in class ZMSGraphic.
Key |
Type |
Description |
|---|---|---|
img |
LangImage |
Image object |
imghires |
LangImage |
Image object (high resolution) |
text |
LangString |
Caption |
align |
string[LEFT|RIGHT|CENTER] |
Image alignment |
textalign |
string[LEFT|RIGHT|CENTER] |
Text alignment |
displaytype |
int[1..7] |
Alignment image / text |
img_attrs_spec |
string |
Special attributes of the IMG tag |
attr_url |
LangUrl |
Hyperlink (for image object) |
ZMSGraphic.getImage(REQUEST)
BESCHREIBUNG:
Delivers the image object of the current graphic object.
EINGABE-PARAMETER:
REQUEST: the Http-Request Object.
AUSGABE-PARAMETER:
Image
| [1] |
Shows the Image-object of the image graphic:
<dtml-let img="graphic.getImage(REQUEST)"> <img src="<dtml-var "img.getHref(REQUEST)">"> </dtml-let> |
| [2] |
Shows the HiresImage-object of image graphic:
<dtml-let imghires="graphic.getObjProperty('imghires',REQUEST)">
<img src<dtml-var "imghires.getHref(REQUEST)">">
</dtml-let>
|
| [3] |
Shows the Image-object of the image graphic:
<dtml-let img="graphic.getImage(REQUEST)"> <img src="<dtml-var "img.getHref(REQUEST)">"> </dtml-let> |
| [4] |
Shows the HiresImage-object of image graphic:
<dtml-let imghires="graphic.getObjProperty('imghires',REQUEST)">
<img src<dtml-var "imghires.getHref(REQUEST)">">
</dtml-let>
|