Dynamic image filling from data sources
You can also create placeholders for images that are automatically filled in the editor.
There are different use cases and data sources for this:
Possible data sources
External URL (use case 1 and 2)
When using a URL, the printformer saves the image from the URL when the template is opened for the first time and then no longer queries it. If the image is updated on the website, the old version remains in the template.
If this source is used, please note that the URL must be accessible and retrievable multiple times.
System media (use cases 1 and 2)
User attribute (use case 3)
Article attribute
Special feature
Use Case
Image blocks are filled using Systemmedia:
The data-key-value attribute is added to the image block tag. The images must be uploaded in advance and the entire file name (incl. suffix) must be entered in the value. In addition, the media-hunter attribute must be added with the value system-media:Image blocks are filled using a Feed:
The attribute data-keys is added to the tag of the image block, the value must correspond to the column title of the feed file. A URL or the file name (incl. suffix) of a system medium can be specified in the feed.Image blocks are filled using a User attribute:
An attribute of the type File is created in the user menu. Either a standard file can be uploaded or - if desired - a separate file for each individual user. The d attribute is added to the image block tag; the value must correspond to the DataKey of the attribute (user-defined attributes always start with pf-ca):
If the data-keys attribute is used on the image block, the image source must be selected in the template configuration under Content for all image blocks to be filled (external URL or system media)

Alternatively, the media-hunter attribute can be added to the image block tag in the IDML, see printformer BlockAttributes | printformerBlockAttributes-Assetblocks-(image,-PDF-blocks)