Configure image formats and UI options

You can configure the Show/Edit Image dialog box to specify the labels that appear in the dialog box, whether images will be flagged for translation by default, and the display characteristics of image thumbnails.

Figure: The Show/Edit Image dialog box setup



IXIASOFT CCMS maintains images in different resolutions and formats for use with different types of output. The images are assigned a collective ID with the extension .image.

To configure image formats and UI options:

  1. Open the TEXTML Administration perspective by clicking the TEXTML Administration shortcut on the tool bar. If the shortcut is not displayed, follow these steps:
    1. Select Window > Open Perspective > Other
    2. Click TEXTML Administration.
    3. Click OK.
  2. In the TEXTML Administration view, double-click the server. If your server is not displayed in the view, you must add it to the view.
  3. When the Connect as dialog opens, type your username and password and click OK.
  4. Double-click the name of your docbase to open a connection to the Content Store.
  5. Locate the multiimage.xml file in the repository's /system/conf collection.
  6. Check out the file.
  7. Open multiimage.xml with a text editor.
  8. Use the <formatnames> element to specify the image format types that users can select when they import images through the Show/Edit Image dialog box.
    For example:
    <formatnames>
       <formatname>PDF</formatname>
       <formatname>Web</formatname>
    </formatnames>

    When you add the format names, keep in mind that the order of the formats determines which one appears by default in the Format drop-down in the Image import dialog.

    Tip: Coordinate these names with whomever is writing the transformation templates used by your system.
  9. Under the <imagetypes> element, enter a <type> for each image type option that will appear when images are imported into the system.
    For example:
    <imagetypes>
       <type description="" translate="yes">Screen Capture</type>
    </imagetypes>
    Note: The description attribute creates a description field in the dialog box, where users can describe their specific image. Do not enter a description value, as it will not be displayed.
  10. Set the translate attribute to "yes" or "no" to determine whether the Needs Translation check box is selected by default for the image type.
  11. Use the <thumbnails> element to set up the following attributes:
    • defaultscale – Enter the scaling factor that will be initially applied to an image. In the example below, the image will be scaled to 50% of its original size by default. If this results in an image in which either dimension exceeds maxsize or is below minsize, the scale will be recalculated so that the resulting thumbnail fits within the minimum/maximum range.

      If the original, unscaled image is smaller than the minimum size then it is left as is. An icon, for example, is displayed at its original size.

    • minsize – Enter the minimum width or height, in pixels, of a thumbnail preview.
    • maxsize – Enter the maximum width or height, in pixels, of a thumbnail preview.
    <thumbnails defaultscale="0.5" minsize="150" maxsize="600"/>
  12. Save, close, and check in the multiimage.xml file.
  13. Inform users of the changes.
    The changes will be applied automatically once users close and then reopen their . Users can also apply the changes without restarting their IXIASOFT CCMS Desktop by clicking DITA CMS > Synchronize Configuration.