15. GenticsImageStore

The Portal package also contains the GenticsImageStore web application, which brings the GenticsImageStore functionality from Gentics Content.Node into Gentics Portal.Node. This web application needs no further configuration, but just needs to be deployed next to Portal.Node.war web application. For details about the GenticsImageStore see the Gentics Content.Node documentation in the Gentics Infoportal.

With setting the servlet init parameter secret the “Image Resize Validation” (Section 16) is switched on.

The servlet init parameter requestDecorator can be set to the fully qualified class of an implementation of the interface com.gentics.api.imagestore.RequestDecorator. The class will be instantiated and will be called for every request that is made to fetch the original image to be resized. In this class, it is possible to modify the imageUri, queryString, Cookies and headers for the request to load the image. Consult the API Documentation about details of the interface com.gentics.api.imagestore.RequestDecorator.