aboutsummaryrefslogtreecommitdiff
path: root/views/default/tidypics/gallery.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/tidypics/gallery.php')
-rw-r--r--views/default/tidypics/gallery.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/views/default/tidypics/gallery.php b/views/default/tidypics/gallery.php
index 74aa34500..ba6f7b11d 100644
--- a/views/default/tidypics/gallery.php
+++ b/views/default/tidypics/gallery.php
@@ -4,8 +4,12 @@
*
*/
-// four albums across
-$num_wide = 4;
+if ($vars['context'] == 'widget') {
+ $num_wide = 3;
+} else {
+ // four albums across
+ $num_wide = 4;
+}
$context = $vars['context'];
$offset = $vars['offset'];