stinger/ckeditor-uploadimage-bundle

Symfony2 Bundle to integrate the CKEditor plugin Upload Image


Keywords
symfony, image, plugin, upload, CKEditor
Licenses
LGPL-3.0/GPL-3.0

Documentation

CKEditor plugin Upload Image Bundle

Symfony2 Bundle to integrate the CKEditor plugin Upload Image

Current Version

UploadImage v4.5.6

Installation

Add bundle to your composer.json file

// composer.json

{
    "require": {
        // ...
        "stinger/ckeditor-uploadimage-bundle": "~4.5.6"
    }
}

Add bundle to your application kernel

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Stinger\CKEditorUploadImageBundle\StingerCKEditorUploadImageBundle(),
        // ...
    );
}

Download the bundle using Composer

$ php composer.phar update stinger/ckeditor-uploadimage-bundle

Install assets

Given your server's public directory is named "web", install the public vendor resources

$ php app/console assets:install web

Optionally, use the --symlink attribute to create links rather than copies of the resources

$ php app/console assets:install --symlink web

Usage

trsteel_ckeditor:
    external_plugins:
      uploadimage:
        path: 'bundles/stingerckeditoruploadimage'

Licenses

Refer to the source code of the included files for license information

References

  1. http://ckeditor.com/addon/uploadimage
  2. http://symfony.com