Index: trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 5388)
+++ trunk/src/org/openstreetmap/josm/gui/layer/WMSLayer.java	(revision 5389)
@@ -106,8 +106,9 @@
     public static final IntegerProperty PROP_OVERLAP_EAST = new IntegerProperty("imagery.wms.overlapEast", 14);
     public static final IntegerProperty PROP_OVERLAP_NORTH = new IntegerProperty("imagery.wms.overlapNorth", 4);
+    public static final IntegerProperty PROP_IMAGE_SIZE = new IntegerProperty("imagery.wms.imageSize", 500);
 
     public int messageNum = 5; //limit for messages per layer
     protected String resolution;
-    protected int imageSize = 500;
+    protected int imageSize;
     protected int dax = 10;
     protected int day = 10;
@@ -158,4 +159,5 @@
     public WMSLayer(ImageryInfo info) {
         super(info);
+        imageSize = PROP_IMAGE_SIZE.get();
         mv = Main.map.mapView;
         setBackgroundLayer(true); /* set global background variable */
