summaryrefslogtreecommitdiff
path: root/installer/install.sql
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-01-11 10:42:39 -0800
committerTim Almdal <tnalmdal@shaw.ca>2010-01-11 10:42:39 -0800
commit3ab6c4915aa0c9dbd2061ffcad0af00e2c50136e (patch)
tree2197decd40621162ae82248b7f55c8e8da82a64f /installer/install.sql
parenta11bf295078656612603c1c561e9261555d0c40c (diff)
Fixes ticket #671.
In the graphics_rules table height and width set the maximum height and width values and should be equal. Initially, the height on the resize target rule was less than the height, which artificially constrained images in portrait mode. **Note"" this fix requires an upgrade to version 22. All the resizes will be flagged dirty.
Diffstat (limited to 'installer/install.sql')
-rw-r--r--installer/install.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/install.sql b/installer/install.sql
index 6e7c06a2..95a57d86 100644
--- a/installer/install.sql
+++ b/installer/install.sql
@@ -89,7 +89,7 @@ CREATE TABLE {graphics_rules} (
) AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
SET character_set_client = @saved_cs_client;
INSERT INTO {graphics_rules} VALUES (1,1,'a:3:{s:5:\"width\";i:200;s:6:\"height\";i:200;s:6:\"master\";i:2;}','gallery','gallery_graphics::resize',100,'thumb');
-INSERT INTO {graphics_rules} VALUES (2,1,'a:3:{s:5:\"width\";i:640;s:6:\"height\";i:480;s:6:\"master\";i:2;}','gallery','gallery_graphics::resize',100,'resize');
+INSERT INTO {graphics_rules} VALUES (2,1,'a:3:{s:5:\"width\";i:640;s:6:\"height\";i:640;s:6:\"master\";i:2;}','gallery','gallery_graphics::resize',100,'resize');
DROP TABLE IF EXISTS {groups};
SET @saved_cs_client = @@character_set_client;
SET character_set_client = utf8;