aboutsummaryrefslogtreecommitdiff
path: root/views/default/settings/tidypics/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/settings/tidypics/edit.php')
-rw-r--r--views/default/settings/tidypics/edit.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/views/default/settings/tidypics/edit.php b/views/default/settings/tidypics/edit.php
index 2c63edff8..455be9bd3 100644
--- a/views/default/settings/tidypics/edit.php
+++ b/views/default/settings/tidypics/edit.php
@@ -1,4 +1,23 @@
<?php
+ $image_lib = $vars['entity']->image_lib;
+ if (!$image_lib) $image_lib = 'GD';
+?>
+<p>
+ <?php echo elgg_echo('tidypics:image_lib'); ?>
+
+ <?php
+ echo elgg_view('input/pulldown', array(
+ 'internalname' => 'params[image_lib]',
+ 'options_values' => array(
+ 'weekly' => 'GD',
+ 'monthly' => 'ImageMagick',
+ ),
+ 'value' => $image_lib
+ ));
+ ?>
+</p>
+
+<?php
$maxfilesize = $vars['entity']->maxfilesize;
if (!$maxfilesize) $maxfilesize = (int) 10240; //set the default maximum file size to 10MB (1024KB * 10 = 10240KB = 10MB)