Documentation » Media

Media Bundle ============ The ``SonataMediaBundle`` is a media library based on a dedicated ``provider`` which handles different ``type`` of media: files, videos or images. Each ``type`` is managed by a ``provider`` service which is in charge of: - retrieving media metadata - generating media thumbnail - tweaking the edit form - rendering the media Each ``media`` can be linked to a ``context``. A context can be ``news``, ``user`` or any name you want. A context allows you to group a set of pictures together. As requirements can be different for each context, a context is defined by a set of ``formats`` and a set of ``providers``. As the infrastructure is not standard, the ``MediaBundle`` abstracts the ``filesystem`` layer and the ``cdn`` layer. .. toctree:: :caption: Reference Guide :name: reference-guide :maxdepth: 1 :numbered: reference/installation reference/helpers reference/creating_a_provider_class reference/media_context reference/usage reference/form reference/security reference/command_line reference/advanced_configuration reference/amazon_s3 reference/extra reference/api reference/troubleshooting Available services ------------------ - Providers - ```` : Image - ```` : File - ```` : Dailymotion - ```` : Vimeo - ```` : Youtube - Filesystem - ```` : The local filesystem (default) - ```` : FTP - ```` : Amazon S3 - ```` : Replicate file to a master and to a slave - CDN - ```` : The local http server (default) - ```` : Panther Portal - ```` : Fallback, use the fallback (the http server) if the Media is not yet flushed on the CDN More services will be available in the future depending on your contributions! :)

Found a typo? Something is wrong in this documentation? Just fork and edit it!