diff --git a/config/config.sample.php b/config/config.sample.php
index 7a815657ef400d04d0dd9d36aacaf6f57788f73c..5f29933ec6507c239d7b4a24031d80a3d27e3556 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -849,16 +849,16 @@ $CONFIG = array(
  * The maximum width, in pixels, of a preview. A value of ``null`` means there
  * is no limit.
  *
- * Defaults to ``2048``
+ * Defaults to ``4096``
  */
-'preview_max_x' => 2048,
+'preview_max_x' => 4096,
 /**
  * The maximum height, in pixels, of a preview. A value of ``null`` means there
  * is no limit.
  *
- * Defaults to ``2048``
+ * Defaults to ``4096``
  */
-'preview_max_y' => 2048,
+'preview_max_y' => 4096,
 
 /**
  * max file size for generating image previews with imagegd (default behavior)
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php
index 402732ecda9927a7b9b591682939a676480e02da..d6a6213e532005ef54574093f0ff9858f664ddae 100644
--- a/lib/private/Preview/Generator.php
+++ b/lib/private/Preview/Generator.php
@@ -164,8 +164,8 @@ class Generator {
 					continue;
 				}
 
-				$maxWidth = (int)$this->config->getSystemValue('preview_max_x', 2048);
-				$maxHeight = (int)$this->config->getSystemValue('preview_max_y', 2048);
+				$maxWidth = (int)$this->config->getSystemValue('preview_max_x', 4096);
+				$maxHeight = (int)$this->config->getSystemValue('preview_max_y', 4096);
 
 				$preview = $this->helper->getThumbnail($provider, $file, $maxWidth, $maxHeight);