Class Config.Images

java.lang.Object
com.cksource.ckfinder.config.Config.Images
All Implemented Interfaces:
Serializable
Enclosing class:
Config

public static class Config.Images extends Object implements Serializable
Configuration node for image processing.
See Also:
  • Constructor Details

    • Images

      public Images()
  • Method Details

    • getMaxWidth

      public int getMaxWidth()
      Returns:
      maximum allowed image with (0 means no limit)
    • setMaxWidth

      public void setMaxWidth(int maxWidth)
      Parameters:
      maxWidth - maximum allowed image with (0 means no limit)
    • getMaxHeight

      public int getMaxHeight()
      Returns:
      maximum allowed image height (0 means no limit)
    • setMaxHeight

      public void setMaxHeight(int maxHeight)
      Parameters:
      maxHeight - maximum allowed image height (0 means no limit)
    • getQuality

      public int getQuality()
      Returns:
      quality of created images in a range from 1 to 100
    • setQuality

      public void setQuality(int quality)
      Parameters:
      quality - quality of created images in a range from 1 to 100
    • getSizes

      public Map<String,ImageSize> getSizes()
      Returns:
      list defining the sizes of images that can be easily selected from CKFinder and passed to an external application (e.g. CKEditor) without having to resize the image manually
    • setSizes

      public void setSizes(Map<String,ImageSize> sizes)
      Parameters:
      sizes - list defining the sizes of images that can be easily selected from CKFinder and passed to an external application (e.g. CKEditor) without having to resize the image manually