Assigning Image Scales in Word
When ePublisher converts images inserted into your source documents, it can scale images to make them display larger or smaller in your generated output. By default, ePublisher uses the scaling factor applied to images as specified by the image style you apply to each image. For example, if you apply an image style to images and the Stationery designer defined the image style to scale images to 80% of their original size, all images that have this image style applied to them will be scaled to 80% in the generated output.
Typically, using the standard scaling factor specified in the image style is sufficient. Occasionally, however you may want to override the scaling factor for an individual image. For example, while most .gif images scale to 80%, you may have one large image that you want scaled to 60% in your generated output. You can manually override the standard scaling factor specified in your Stationery for a specific image by using the GraphicScale marker.
To assign a scale to a specific image, your Stationery and template must have the GraphicScale marker type configured. Your output format must also support scaling by image.
The following procedure provides an example of how to specify image scaling for an image Microsoft Word source documents using Microsoft Word 2003. Steps for specifying image scaling for an image in Microsoft Word may be different in other versions of Microsoft Word.
To specify an image scale for an image in a Microsoft Word source document
1. In your Microsoft Word source document, locate the image for which you want to specify image scaling.
2. Right-click the image, and then click Format Picture or Format Object.
3. Change the layout setting of the image to Top and Bottom by completing the following steps:
Note: By default when you insert images into Microsoft Word, Microsoft Word inserts the image using the Inline with text layout setting. In order to specify the image scale for image output files, you must group the image and the text box that contains the GraphicScale marker. However, you cannot group images using the In line with text layout setting in Microsoft Word. To work around this known Microsoft Word issue, if you have an image that uses an In line with text layout setting, use the Top and Bottom layout setting for the image while you insert the GraphicScale marker, and then reapply the In line with text layout setting after you group the image and the GraphicScale marker.
a. On the Layout tab, click Advanced.
b. On the Text Wrapping tab, click Top and Bottom.
c. Click OK, and then click OK again to close the window.
4. Select your image.
5. On the Insert menu, click Text Box, and then click to the right of your image. Microsoft Word inserts a text box.
6. Insert your cursor into the text box, and then complete the following steps:
a. On the WebWorks menu, click Markers.
b. In the Markers field, select GraphicScale from the list of markers.
c. In the Value field, type a scaling value for the image.
For example, if you want the image in your Microsoft Word source document reduced by 50% when you generate output, type 50.
Click OK. ePublisher inserts the GraphicScale marker into the text box.
d. Select the text box.
e. Right-click the selected text box, and then click Format Text Box.
f. On the Colors and Lines tab, in the Fill area, in the Color field, select No Fill.
g. In the Line area, in the Color field, select No Line.
h. Click OK.
7. Drag and drop the text box onto the image.
8. Select the text box and the image.
9. Right-click the selected text box and image, and then click Grouping  > Group.
Note: When you select Group, the location of the image in your Microsoft Word source document may change in relation to the text in your source document. For example, the image may move up or down in your Microsoft Word source document. This is known Microsoft Word behavior. You may need to scroll up or down in your source document to the new location of the image to find the image.
10. If your image previously used the In line with text layout setting for the image, reassign this style to your image by completing the following steps:
a. Right-click only the image, and then click Format Object.
Note: You must ensure you right-click only the image, and not on the text box or the grouped text box and image. If you right-click on the text box or the grouped text box and image, Microsoft Word does not display the Format Object menu option on the context menu.
b. On the Layout tab, click In line with text.
c. Click OK, and then click OK again to close the window.
11. Save your Microsoft Word source document.
12. Generate output for your project. For more information, see Generating Output.
13. In Output Explorer, verify ePublisher created the image using the image scale you specified in the GraphicScale marker by clicking on the page that contains the image for which you specified image scaling. For more information about viewing output files in Output Explorer, see Viewing Output in Output Explorer.
Was this helpful?
Last modified date: 12/09/2021