aboutsummaryrefslogtreecommitdiff
path: root/activate.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-11-23 15:25:48 -0500
committerCash Costello <cash.costello@gmail.com>2011-11-23 15:25:48 -0500
commit4bfbb194ec1f9fc2647d1cb4e946fb95492076d6 (patch)
tree2e818635b8ae236cbefe0ccf55e29b23f369d6b7 /activate.php
parent9b814dd2124a8c71dec3a8d510d288f040b03b9e (diff)
downloadelgg-4bfbb194ec1f9fc2647d1cb4e946fb95492076d6.tar.gz
elgg-4bfbb194ec1f9fc2647d1cb4e946fb95492076d6.tar.bz2
settings are good enough for a preview release now
Diffstat (limited to 'activate.php')
-rw-r--r--activate.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/activate.php b/activate.php
index ca74c6119..25d34338c 100644
--- a/activate.php
+++ b/activate.php
@@ -21,8 +21,28 @@ if (get_subtype_id('object', 'image')) {
// set default settings
$plugin = elgg_get_plugin_from_id('tidypics');
+$image_sizes = array();
+$image_sizes['large_image_width'] = $image_sizes['large_image_height'] = 600;
+$image_sizes['small_image_width'] = $image_sizes['small_image_height'] = 153;
+$image_sizes['tiny_image_width'] = $image_sizes['tiny_image_height'] = 60;
+$image_sizes = serialize($image_sizes);
+
$defaults = array(
'tagging' => true,
+ 'view_count' => true,
+ 'uploader' => true,
+ 'exif' => true,
+ 'download_link' => true,
+
+ 'maxfilesize' => 5,
+ 'image_lib' => 'GD',
+
+ 'img_river_view' => 'batch',
+ 'album_river_view' => 'set',
+
+ 'image_sizes' => $image_sizes,
+
+ 'grp_perm_override' => true,
);
foreach ($defaults as $name => $value) {