Liferay Portal 6.1 - User Guide
| Download PDF | Purchase Print Book |
Liferay provides a rich store of resources and knowledge to help our community better use and work with our technology.
| Download PDF | Purchase Print Book |
Set this to true if the Image servlet will automatically scale an image based on the request height and width parameters.
image.auto.scale=false
Set the location of the default spacer image that is used for missing images. This image must be available in the class path.
image.default.spacer=com/liferay/portal/dependencies/spacer.gif
Set the location of the default company logo image that is used for missing company logo images. This image must be available in the class path.
image.default.company.logo=com/liferay/portal/dependencies/company_logo.png
Set the location of the default organization logo image that is used for missing organization logo images. This image must be available in the class path.
image.default.organization.logo=com/liferay/portal/dependencies/organization_logo.png
Set the locations of the default user portrait images that are used for missing user portrait images. This image must be available in the class path.
image.default.user.female.portrait=com/liferay/portal/dependencies/user_female_portrait.png
image.default.user.male.portrait=com/liferay/portal/dependencies/user_male_portrait.png
In versions prior to 6.1, the Image Gallery portlet supported persisting images via com.liferay.portal.image.DatabaseHook, com.liferay.portal.image.DLHook, or com.liferay.portal.image.FileSystemHook. Since 6.1, only DLHook is supported.
Set this property to the hook implementation to trigger automatic data migration during an upgrade.
Examples:
image.hook.impl=com.liferay.portal.image.DatabaseHook
image.hook.impl=com.liferay.portal.image.DLHook
image.hook.impl=com.liferay.portal.image.FileSystemHook
This is a legacy property used by the FileSystemHook to allow data migration from other hooks.
image.hook.file.system.root.dir=${liferay.home}/data/images