diff --git a/config/alfresco/repository.properties b/config/alfresco/repository.properties
index 5a71f920c6..20232aca93 100644
--- a/config/alfresco/repository.properties
+++ b/config/alfresco/repository.properties
@@ -621,12 +621,12 @@ system.thumbnail.generate=true
# Default thumbnail limits
# When creating thumbnails, only use the first pageLimit pages
-system.thumbnail.definition.doclib.timeoutMs=-1
-system.thumbnail.definition.doclib.readLimitTimeMs=-1
-system.thumbnail.definition.doclib.maxSourceSizeKBytes=-1
-system.thumbnail.definition.doclib.readLimitKBytes=-1
-system.thumbnail.definition.doclib.pageLimit=1
-system.thumbnail.definition.doclib.maxPages=-1
+system.thumbnail.definition.default.timeoutMs=-1
+system.thumbnail.definition.default.readLimitTimeMs=-1
+system.thumbnail.definition.default.maxSourceSizeKBytes=-1
+system.thumbnail.definition.default.readLimitKBytes=-1
+system.thumbnail.definition.default.pageLimit=1
+system.thumbnail.definition.default.maxPages=-1
# Max mimetype sizes to create thumbnail icons
system.thumbnail.mimetype.maxSourceSizeKBytes.pdf=-1
diff --git a/config/alfresco/thumbnail-service-context.xml b/config/alfresco/thumbnail-service-context.xml
index 04bdd7511c..87d1ccdd1d 100644
--- a/config/alfresco/thumbnail-service-context.xml
+++ b/config/alfresco/thumbnail-service-context.xml
@@ -55,6 +55,153 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -66,136 +213,12 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/source/java/org/alfresco/repo/rendition/RenditionServiceIntegrationTest.java b/source/java/org/alfresco/repo/rendition/RenditionServiceIntegrationTest.java
index 920c4ee302..e61bd844c7 100644
--- a/source/java/org/alfresco/repo/rendition/RenditionServiceIntegrationTest.java
+++ b/source/java/org/alfresco/repo/rendition/RenditionServiceIntegrationTest.java
@@ -1413,9 +1413,9 @@ public class RenditionServiceIntegrationTest extends BaseAlfrescoSpringTest
// 4. "imgpreview"
parameterValues.clear();
- parameterValues.put(AbstractRenderingEngine.PARAM_MIME_TYPE, MimetypeMap.MIMETYPE_IMAGE_PNG);
- parameterValues.put(ImageRenderingEngine.PARAM_RESIZE_WIDTH, 480);
- parameterValues.put(ImageRenderingEngine.PARAM_RESIZE_HEIGHT, 480);
+ parameterValues.put(AbstractRenderingEngine.PARAM_MIME_TYPE, MimetypeMap.MIMETYPE_IMAGE_JPEG);
+ parameterValues.put(ImageRenderingEngine.PARAM_RESIZE_WIDTH, 960);
+ parameterValues.put(ImageRenderingEngine.PARAM_RESIZE_HEIGHT, 960);
parameterValues.put(ImageRenderingEngine.PARAM_MAINTAIN_ASPECT_RATIO, true);
parameterValues.put(ImageRenderingEngine.PARAM_RESIZE_TO_THUMBNAIL, true);
parameterValues.put(ImageRenderingEngine.PARAM_ALLOW_ENLARGEMENT, false);