From 1bed3253abfc627a6dd698fc62a617285c1d7c84 Mon Sep 17 00:00:00 2001
From: Georg Ehrke <georg@ownCloud.com>
Date: Sat, 25 May 2013 11:05:37 +0200
Subject: [PATCH] add sample config for previews

---
 config/config.sample.php | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/config/config.sample.php b/config/config.sample.php
index 7283400920..db6eaf852a 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -183,4 +183,12 @@ $CONFIG = array(
 'customclient_desktop' => '', //http://owncloud.org/sync-clients/
 'customclient_android' => '', //https://play.google.com/store/apps/details?id=com.owncloud.android
 'customclient_ios' => '' //https://itunes.apple.com/us/app/owncloud/id543672169?mt=8
+
+// PREVIEW
+/* the max width of a generated preview, if value is null, there is no limit */
+'preview_max_x' => null,
+/* the max height of a generated preview, if value is null, there is no limit */
+'preview_max_y' => null,
+/* the max factor to scale a preview, default is set to 10 */
+'preview_max_scale_factor' => 10,
 );
-- 
GitLab