Hello Guys,
We need to resize the thumbnail of file according to our requirements or for maintaining aspect ratio of an image. Now we can resize the thumbnail of file using portal properties which we will define in the portal -ext.properties file of the liferay portal.
Resize thumbnail of document and media :
Define below properties in portel-ext.properties
dl.file.entry.thumbnail.enabled =true
dl.file.entry.thumbnail.max.height =200
dl.file.entry.thumbnail.max.width =200
dl.file.entry.thumbnail.min.height =128
dl.file.entry.thumbnail.min.width =128
Resize thumbnail of Software catalog
Define below properties in portel-ext.properties
sc.image.thumbnail.max.height =200
sc.image.thumbnail.max.width =200
0 Comment(s)