-
Couldn't load subscription status.
- Fork 113
Image
Srdjan Djenader edited this page Nov 29, 2017
·
1 revision
plugins: [
'Image'
]
pluginsConfig: {
'Image': {
scaleDownLargeImage: true,
maxImageSizeKb: 5120,
acceptedMIMETypes: ['image/jpeg', 'image/png', 'image/gif'],
cropIsActive: true
}
}
The configuration example shows the default settings that are used if no configuration is provided.
-
scaleDownLargeImage:- If set to
truethe inserted image is automatically scaled down to fit into canvas.
- If set to
-
maxImageSizeKb:- Sets the maximum size in KB of an image to be inserted.
- Settings of
nullor0will allow any size of image to be inserted.
-
acceptedMIMETypes:- Sets the allowed mime types to insert in canvas.
-
cropIsActive:- Allows cropping of image during insertion.
- For this feature the
ImageCropplugin is needed.
Getting Started
Plugins
-
Drawing Tools
-
Drawing Options
-
Advanced Configuration
Redactor Plugin Specific
DEMO