Sun GlassFish Web Space Server 10.0 Administration Guide

Image Gallery Portlet

Image Gallery Portlet is a property in the portal.properties file, which is the default configuration file for Sun GlassFish Web Space Server. You can override this property using portal-ext.properties file.

Set the maximum file size and valid file extensions for images. A value of 0 for the maximum file size can be used to indicate unlimited file size. However, the maximum file size allowed is set in the property com.liferay.portal.upload.UploadServletRequestImpl.max.size.


ig.image.max.size=10240000

A file extension of * will permit all file extensions.


ig.image.extensions=.bmp,.gif,.jpeg,.jpg,.png,.tif,.tiff

Set the maximum thumbnail height and width in pixels. Set dimension of the custom images to 0 to disable creating a scaled image of that size.


ig.image.thumbnail.max.dimension=150
#ig.image.custom1.max.dimension=100
#ig.image.custom2.max.dimension=0