jmaumene/media-bundle

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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: 2021-12-01 12:23:15 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