Index: lams_tool_pixlr/web/pages/learning/pixlr.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_tool_pixlr/web/pages/learning/pixlr.jsp,v diff -u -r1.1 -r1.2 --- lams_tool_pixlr/web/pages/learning/pixlr.jsp 7 Jan 2009 22:37:49 -0000 1.1 +++ lams_tool_pixlr/web/pages/learning/pixlr.jsp 8 Jan 2009 02:39:51 -0000 1.2 @@ -80,7 +80,7 @@
- +

@@ -107,11 +107,17 @@ if (image.height >= image.width) { - image.height = 300; + if (image.height > 300) + { + image.height = 300; + } } else { - image.width = 300; + if (image.width > 300) + { + image.width = 300; + } } //-->