Disabling the Generation of the Icon for an Image

In the product timeline chart, the primary image associated with the product appears with its marketing name. The property file specifies the display of the default image when there is no image for the product. To display the primary image, the image icon associated with the primary image object is retrieved. You can disable this functionality.

Context: The createPrimaryImage() method in emxImageBase.java specifies 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 the icon of the image object. If ImageMagick is not installed, the file's image is the image icon.

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