summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorAutomatic Build Number Updater <bharat+gallery3_build_number_updater@menalto.com>2013-03-11 16:39:03 -0700
committerAutomatic Build Number Updater <bharat+gallery3_build_number_updater@menalto.com>2013-03-11 16:39:03 -0700
commit063ebed5c17165d7f8e65c08ea459a7737e06144 (patch)
tree420e93448f9f06ffac2ee46f75d08555cd9c4fcf /themes
parent7fbe5f0ab1cfec496473cea59d0e91191aa9bd00 (diff)
parent53c1ae7dca1c97b4c71f494d7b8b8c2b2a212359 (diff)
Merge branch 'master' of github.com:gallery/gallery3
Diffstat (limited to 'themes')
-rw-r--r--themes/wind/views/page.html.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/wind/views/page.html.php b/themes/wind/views/page.html.php
index 1bb329df..0ae41ea7 100644
--- a/themes/wind/views/page.html.php
+++ b/themes/wind/views/page.html.php
@@ -24,7 +24,7 @@
<link rel="apple-touch-icon-precomposed"
href="<?= url::file(module::get_var("gallery", "apple_touch_icon_url")) ?>" />
<? if ($theme->page_type == "collection"): ?>
- <? if (($thumb_proportion = $theme->thumb_proportion($theme->item())) != 1): ?>
+ <? if (($thumb_proportion = $theme->thumb_proportion($theme->item(), 100, "width")) != 1): ?>
<? $new_width = round($thumb_proportion * 213) ?>
<? $new_height = round($thumb_proportion * 240) ?>
<style type="text/css">