Changing Preview by Thumbnails. This helps to remove some duplicated code from liferay