Change Liferay Default User Portrait
Step 1: Add the below given properties in portal-ext.properties file.
portal-ext.properties file location :
%LIFERAY_HOME%\tomcat-7.0.62\webapps\ROOT\WEB-INF\classes
If there no file exists with this name, please create this. And then add below lines.
Step 2: Add the default custom image under below given path
%LIFERAY_HOME%\tomcat-7.0.62\webapps\ROOT\WEB-INF\classes\com\images\
Step 3: Restart the server
Enjoy !!!!
portal-ext.properties file location :
%LIFERAY_HOME%\tomcat-7.0.62\webapps\ROOT\WEB-INF\classes
If there no file exists with this name, please create this. And then add below lines.
image.default.user.female.portrait=com/images/user_female_portrait.png
image.default.user.male.portrait=com/images/user_male_portrait.pngStep 2: Add the default custom image under below given path
%LIFERAY_HOME%\tomcat-7.0.62\webapps\ROOT\WEB-INF\classes\com\images\
Step 3: Restart the server
Enjoy !!!!
Comments
Post a Comment