Add a Variable Image
You can add a Variable Image field to a label so that a specific image can be selected at print time. The path to the actual image in Loftware Enterprise SP can be provided by entering data into a prompt, by retrieving the path from a database, or by generating the path using a formula or script.
To add a placeholder for an image to a label so that the actual image can be selected at print time, use this procedure.
- From the Insert tab, click and drag Image to the Label view. A placeholder envelope appears for the image.
- Click View > Data Sources and configure a data source to determine which of several images should be displayed. The data source must return the full path to an image.
Note: To get images into Loftware Enterprise SP see Import a New Image or Bulk Import Images.
- Drag the data source result from the Data Sources box to the image placeholder in the Label view. In the Properties pane, the data source name is displayed in the Data Ref property for the image.
- To specify a default image to appear in case the data source does not return a value, select an image file for Default Value.
Note: If the data source returns a value, the Default Value will not be displayed even if the value returned by the data source is not valid.
Tip: You can use the Relative Path check box to control whether the path is represented as an absolute path or a relative path. Using a relative path may be helpful if an object is likely to be transferred to a different Loftware Enterprise SP instance
A Loftware Application Server and a Loftware Database Server that are associated with each other by a Loftware Enterprise - SP License.. The check box is available to select after the object has been saved for the first time. For more information, see Relative Paths.
Tip: The option selected for Design Data in the View tab controls what data is used in fields and areas when previewed, printed, or displayed in Label Design
For each field, the value specified in the Default Value property for that field., placeholder data
For a Variable Text field, the series of digits 1234567890, repeated until the maximum number of characters allowed for the field is displayed. For a barcode field, a sample barcode that adheres to the specified properties. For an image field, a sample image. Whether placeholder data is used in Label Design is controlled by the selection for Design Data., or data from a live data set
A collection of data (names and values) that was retrieved from a data source and is specific to a label template or a reusable object. A data set can be used to populate fields displayed in Label Design, in a preview, and when test printing. can be used. For more information, see Select Data to Display in Label Design.
- Configure other Image Properties.