IBM FileNet P8, Version 5.2.1            

Setting the size of generated thumbnails

Use the Thumbnail.SizeLimit properties to set the sizes of generated thumbnails.

Start of change

About this task

The thumbnail request sweep includes an image size property that determines the size of thumbnails. When the sweep passes a document to IBM® Outside In Image Export for thumbnail generation, it also specifies the scaling size of the resultant thumbnail image.

Image sizes on the sweep are expressed as small, medium, or large. Each of these sizes is mapped to a pixel number that reflects these different sizes. There is a default pixel number for each size:
  • Small: 100
  • Medium: 250
  • Large: 500

The integer values indicate the number of pixels in the larger dimension of the generated image. The image is scaled to fit the larger dimension. For example, if the sweep is set for a medium image size, then an image of size 1024 x 768 pixels results in a thumbnail of size 250 x 188 pixels.

By using the FileNet.properties file, you can override the default integer values that the sweep maps to the small, medium, and large settings.

End of change

Procedure

To set the size of generated thumbnail images:

  1. Edit the FileNet.properties file. Start of change
    If the FileNet.properties file has already been created, it is located in one of the following locations. If it does not exist, create a blank file in one of the following locations:
    • The current directory (Java™ system property user.dir)
    • The user's home directory (Java system property user.home)
    • The Java JVM home directory (Java system property java.home)
    End of change
  2. Set the Thumbnail.SizeLimit.Small, Thumbnail.SizeLimit.Medium, or Thumbnail.SizeLimit.Large property to an integer value that reflects the number of pixels in the larger dimension of the generated image. If the property does not exist in the FileNet.properties file, use the format property=value, for example, Thumbnail.SizeLimit.Large=600.

    The following table shows the thumbnail scaling results for source images of different sizes if the Thumbnail.SizeLimit.Small is set to 250.

    Start of change
    Property Setting Source image Scaling result
    Thumnail.SizeLimit.Small 250 768 x 1024

    300 x 600

    1366 x 768

    188 x 250

    125 x 250

    250 x 141

    End of change
  3. For the new settings to take effect, restart the application server.


Last updated: October 2015
p8pcc173.htm

© Copyright IBM Corporation 2015.