jmaumene/media-bundle

Basic media Bundle with administration

Installs: 7

Dependents: 0

Suggesters: 0

Security: 0

Type:symfony-bundle

dev-master 2016-10-02 13:11 UTC

This package is not auto-updated.

Last update: 2024-04-18 06:54:33 UTC


README

Media-Bundle add media manager, with file browser and upload for ckeditor.

Latest Stable Version

Install

Edit /app/config/AppKernel.php and add :

            new Ivory\CKEditorBundle\IvoryCKEditorBundle(),
            new Liip\ImagineBundle\LiipImagineBundle(),

Edit /app/config/parameters.yml and add :

    jmedia_upload_dir: 'uploads/media'
    jmedia_upload_max_size: 20M
    jmedia_upload_mime_type:
        - image/jpeg
        - image/bmp
        - image/gif
        - image/x-icon
        - image/png
        - image/tiff

Edit /app/config/routing.yml and add :

_liip_imagine:
    resource: "@LiipImagineBundle/Resources/config/routing.xml"

Edit /app/config/config.yml and add :

liip_imagine:
    filter_sets:
        media_thumb_128x128:
            filters:
                thumbnail: { size: [128, 128], mode: outbound }
                
ivory_ck_editor:
    default_config: my_config
    configs:
        my_config:
            extraPlugins: "uploadimage"
            filebrowserImageBrowseUrl: '/jmbrowser/'
    plugins:
        widget:
            path:     "/bundles/jmaumenemedia/widget/"
            filename: "plugin.js"
        filetools:
            path:     "/bundles/jmaumenemedia/filetools/"
            filename: "plugin.js"
        notificationaggregator:
            path:     "/bundles/jmaumenemedia/notificationaggregator/"
            filename: "plugin.js"
        uploadwidget:
            path:     "/bundles/jmaumenemedia/uploadwidget/"
            filename: "plugin.js"
        uploadimage:
            path:     "/bundles/jmaumenemedia/uploadimage/"
            filename: "plugin.js"
        lineutils:
            path:     "/bundles/jmaumenemedia/lineutils/"
            filename: "plugin.js"
        notification:
            path:     "/bundles/jmaumenemedia/notification/"
            filename: "plugin.js"

Dependencies

LiipImagineBunde :

http://symfony.com/doc/current/bundles/LiipImagineBundle/introduction.html

IvoryCKEditorBundle :

http://symfony.com/doc/current/bundles/IvoryCKEditorBundle/installation.html

About

Julien Maumené http://www.maumene.fr