NIHVIVO-1692 if thumbnails are created during a file storage upgrade, they should be the right size.

This commit is contained in:
jeb228 2011-01-13 20:40:21 +00:00
parent a4f67be80e
commit 981aff8ac4

View file

@ -88,10 +88,10 @@ public class FileStorageUpdater implements FSUController {
private static final Log log = LogFactory.getLog(FileStorageUpdater.class); private static final Log log = LogFactory.getLog(FileStorageUpdater.class);
/** How wide should a generated thumbnail image be (in pixels)? */ /** How wide should a generated thumbnail image be (in pixels)? */
public static final int THUMBNAIL_WIDTH = 150; public static final int THUMBNAIL_WIDTH = 200;
/** How high should a generated thumbnail image be (in pixels)? */ /** How high should a generated thumbnail image be (in pixels)? */
public static final int THUMBNAIL_HEIGHT = 150; public static final int THUMBNAIL_HEIGHT = 200;
/** How is the main image referenced in the old scheme? */ /** How is the main image referenced in the old scheme? */
public static final String IMAGEFILE = VitroVocabulary.vitroURI public static final String IMAGEFILE = VitroVocabulary.vitroURI