Disabling Generation of the Icon for an Image

In the product timeline chart, the primary image associated with the product is displayed along with its marketing name. If there is no image for the product then a default image is displayed as defined in the property file. To display the primary image, the image icon associated with primary image object is retrieved. You can disable this functionality.

The createPrimaryImage() method in emxImageBase.java sets the icon of the image object. This method is invoked when the image file is checked into the image object. This method first checks out the image file into the temporary location.

If you do not want the image object icon to be generated, you can disable this functionality by doing the following:

  1. Comment the call to the method createPrimaryImage() in method checkin() of emxImageBase.java.

    After the file is checked out, first it is converted to a thumbnail using a third-party tool called ImageMagick, then the thumbnail is set as icon of the image object. If ImageMagick is not installed, then the same file is set as image icon.

  2. Compile the emxImageBase.java and emxImage.java JPOs.