1. The Page elements

Image

This table lists the use, (default) values, and description of the attributes of the image element.

AttributeUseValuesDescription/examples
WidthRequiredThe width of the graphic frame in the specified units.
HeightRequiredThe height of the graphic frame in the specified units.
XRequiredThe horizontal position of the center point of the graphic frame with reference to the center point of the ImageFrame in the specified units.
YRequiredThe vertical position center point of the graphic frame with reference to the center point of the ImageFrame in the specified units.
LowResSrcRequiredThe file path to the image file.If published from IDC the file path is relative to the cache folder (PrintStudio.ProjectsFolder setting in Sitecore.PrintStudio.config).Otherwise it is absolute file path.
HighResSrcRequiredThe file path to the image file.If published from IDC the file path is relative to the cache folder (PrintStudio.ProjectsFolder setting in Sitecore.PrintStudio.config).Otherwise it is absolute file path.
NameImpliedOnly used internally.
RotationImpliedThe rotation angle around the center, number, in degrees.
SitecoreIDRequiredThe SitecoreID attribute is used to identify each page object (TextFrame, ImageFrame, etc) with a corresponding Sitecore item. The SitecoreID attribute contains the ID value of that specific item. Each page object item created with the InDesign Connector is related to a Sitecore item.NoteWhen using a script to create a page object (TextFrame, ImageFrame, etc), you should add the SitecoreID attribute and use a default value (e.g. “null”) so the InDesign Connector can identify this item.
SitecoreFieldnameImpliedOnly used internally.
SitecoreMediaIDImpliedOnly used internally.Used for static images and images inside Inline, value is the ID of the media item referenced in "MediaLibrary Reference" field.
HorizontalScaleImpliedValue - / +. Value of 0.8 means scale to 80%. Value of 2 means 200%. HorizontalScale and VerticalScale always need to be set both in order to use scaling.
VerticalScaleImpliedValue - / +. Value of 0.8 means scale to 80%. Value of 2 means 200%. HorizontalScale and VerticalScale always need to be set both in order to use scaling.
SkewImpliedSkew angle
ObjectStyleImpliedAn InDesign Object Style can be used for formatting (effects). When the name of the Object Style used in the master is used as value of this attribute it will be applied. If the ObjectStyle does not exist, it is NOT created automatically.
RunScriptImpliedThe full file(s) path. Three parameters are sent to the script.par1: document namepar2: XML IDpar3: InDesign GUID
WrapAndStrokeAttributesSee Common wrap and stroke attributes.
WContImplied012345Wrap contour0: Bounding Box - use the bounds of the graphic1: Detect Edges - look at the pixel values to find darker areas of the image2: Alpha Channel - use edge detection algorithm on the alpha channel3: Photoshop Path - use the embedded path4: Graphic Frame - use the graphic's frame5: Same as Clipping - use the graphic's clipping
If you have suggestions for improving this article, let us know!