Commit ab802d4b authored by Julien Lerouge's avatar Julien Lerouge

Explicitly scan for ImageIO plugins, since they may not be found for some Tomcat configurations

parent 96324d29
......@@ -167,6 +167,11 @@ public class ImageLoaderDocuImage extends ImageInfoDocuImage {
/** the size of the current image */
protected ImageSize imageSize;
public ImageLoaderDocuImage() {
super();
ImageIO.scanForPlugins();
}
/**
* @return the version
*/
......
......@@ -15,10 +15,11 @@
<!-- List of directories where images are searched.
Directories with low-resolution images are LAST!!! in list.
Use OS-specific path separators (":" for Unix, ";" for Windows) -->
<parameter name="basedir-list" value="/home/lerouju8/web/images" />
<!--<parameter name="basedir-list" value="/home/lerouju8/web/images" />-->
<parameter name="basedir-list" value="/home/pivaj/images" />
<!-- Java class to use for image operations -->
<!--<parameter name="docuimage-class" value="digilib.image.JAIDocuImage" />-->
<!--<parameter name="docuimage-class" value="digilib.image.JAIImageLoaderDocuImage" />-->
<parameter name="docuimage-class" value="digilib.image.ImageLoaderDocuImage" />
<!-- mimimum amount of scaling done with antialiasing -->
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment