imgid

Build 1501 on 14/Nov/2017  This topic last edited on: 24/Oct/2016, at 14:39

Description

This tag inserts a image by its ID in text on current position. The image is anchored in the text.

Parameters and typographical expressions

1.Image ID. A valid integer number.

2.(optional) image width. A positive decimal number of a measure type, or a typographical expression that results in such a number. If you specify only the width, and omit the height, Ted4 will set the image height proportionally to the width.

3.(optional) image height. A positive decimal number of a measure type, or a typographical expression that results in such a number. If you specify only the height, and omit the width, Ted4 will set the image width proportionally to the height.

Note: If you omit the width and the height, the image is displayed in its original size.

Tag effects

Effects are visible in the WYSIWYG pane of the Articles main tab or on a page on the Pages main tab. However, because this tag may change the way how the text lines are justified, its effect is indirectly visible in the source pane of the Articles or Pages main tab.

Type and scope

Can be inserted anywhere in text.

Remarks

You can insert, edit, or delete this tag also by the dialog box in Ted4 or Fred4. In the standard configuration, on the Type menu, point to Image, and then click Insert. The related VBScript code is Ted4.InsTextImage "",0,0,True. The code to edit an existing image is Ted4.EditTextImage "",0,0,True. The code to delete an existing image is Ted4.EditTextImage "",0,0,False.

Click to toggle expandExamples