From 06cd5380bc390edd6b879da2663598aca2ff8613 Mon Sep 17 00:00:00 2001 From: nac26 Date: Thu, 13 Jan 2011 18:56:06 +0000 Subject: [PATCH] NIHVIVO-1692 Image thumbnails are now generated and saved at 200px x 200px --- .../webapp/controller/freemarker/ImageUploadController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadController.java b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadController.java index 29340b517..1761867a6 100644 --- a/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadController.java +++ b/webapp/src/edu/cornell/mannlib/vitro/webapp/controller/freemarker/ImageUploadController.java @@ -59,8 +59,8 @@ public class ImageUploadController extends FreemarkerHttpServlet { public static final int MAXIMUM_FILE_SIZE = 6 * 1024 * 1024; /** Generated thumbnails will be this big. */ - public static final int THUMBNAIL_HEIGHT = 115; - public static final int THUMBNAIL_WIDTH = 115; + public static final int THUMBNAIL_HEIGHT = 200; + public static final int THUMBNAIL_WIDTH = 200; /** The form field that tells what we are doing: uploading? deleting? */ public static final String PARAMETER_ACTION = "action";