CKEditor plugin that allows upload and browse images.
/plugins
folder.candimage
candimageProps
Open the image properties dialog.candimageUpload
Upload image.candimagePick
Open the image browser dialog.[Installing plugins] [Toolbar customization]
Required:
get
request must return a JSON array of items containing, at least, the fields specified in tplReplacements
.post
request must return a JSON object with, at least, the fields specified in tplReplacements
.deletetUrl
may contain the {file}
parameter, which will be replaced by the name of the image.
/images/{file}
becomes /images/my-image-filename
.Optional:
The themes define the appearance of the images browser. By default Candimage includes two themes: grid
and list
.
A theme consists of three files:
style.css
Styles used by the images browser.config.json
Set properties like tplReplacements
or picker.*
.tpl-img.html
Browser’s image template.Themes location: /plugins/candimage/themes
.
Click on the next link to view the source code and a basic example.
comments powered by Disqus