kunstmaan / media-bundle
To build your perfect website you probably need images, video's or maybe even a presentation too. The Kunstmaan Media Bundle handles all those media assets and centralizes them so you can find your content just the way you like it: fast and efficiently. No central asset management module is useful w
Installs: 124 421
Dependents: 7
Suggesters: 1
Security: 0
Stars: 38
Watchers: 15
Forks: 14
Type:symfony-bundle
Requires
- php: ^8.1
- gedmo/doctrine-extensions: ^2.4.34|^3.1.0
- knplabs/knp-gaufrette-bundle: ~0.1
- kunstmaan/adminlist-bundle: ^7.0
- liip/imagine-bundle: ^2.4
- pagerfanta/twig: ^3.8
- stof/doctrine-extensions-bundle: ^1.3
- symfony/mime: ^5.4|^6.4
Requires (Dev)
- matthiasnoback/symfony-config-test: ^4.2.1
- matthiasnoback/symfony-dependency-injection-test: ^4.2.1
- phpunit/phpunit: ^9.5.5
- symfony/phpunit-bridge: ^7.0
Suggests
- ext-imagick: to support PDF preview images
Conflicts
- doctrine/persistence: <1.3
- 7.x-dev
- 7.2.x-dev
- 7.1.x-dev
- 7.1.2
- 7.1.1
- 7.1.0
- 7.1.0-alpha2
- 7.1.0-alpha1
- 7.0.x-dev
- 7.0.5
- 7.0.4
- 7.0.3
- 7.0.2
- 7.0.1
- 7.0.0
- 7.0.0-alpha1
- 6.x-dev
- 6.4.x-dev
- 6.4.3
- 6.4.2
- 6.4.1
- 6.4.0
- 6.4.0-alpha2
- 6.4.0-alpha1
- 6.3.x-dev
- 6.3.1
- 6.3.0
- 6.2.x-dev
- 6.2.5
- 6.2.4
- 6.2.3
- 6.2.2
- 6.2.1
- 6.2.0
- 6.1.x-dev
- 6.1.9
- 6.1.8
- 6.1.7
- 6.1.6
- 6.1.5
- 6.1.4
- 6.1.3
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.x-dev
- 6.0.6
- 6.0.5
- 6.0.4
- 6.0.3
- 6.0.2
- 6.0.1
- 6.0.0
- 5.10.x-dev
- dev-master / 5.10.x-dev
- 5.10.7
- 5.10.6
- 5.10.5
- 5.10.4
- 5.10.3
- 5.10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6
- 3.2.5
- 3.2.4.1
- 3.2.4
- 3.2.3
- 3.2.2
- 3.2.1.1
- 3.2.1
- 3.2.0
- 3.1.x-dev
- 3.1.4
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.x-dev
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- v2.3.23
- v2.3.22
- v2.3.21
- v2.3.20
- v2.3.19
- v2.3.18
- v2.3.17
- v2.3.16
- v2.3.15
- v2.3.14
- v2.3.13
- v2.3.12
- v2.3.11
- v2.3.10
- v2.3.9
- v2.3.8
- v2.3.7
- v2.3.6
- v2.3.5
- v2.3.4
- v2.3.3
- v2.3.2
- v2.3.1
- v2.3
- v2.2.10
- v2.2.9
- v2.2.8
- v2.2.3
- v2.2.2
- v2.2.1
- v2.2
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3
- dev-6.0-copy
- dev-sf3
This package is auto-updated.
Last update: 2024-12-11 14:48:05 UTC
README
To build your perfect website you probably need images, video's or maybe even a presentation too. The Kunstmaan Media Bundle handles all those media assets and centralizes them so you can find your content just the way you like it: fast and efficiently. No central asset management module is useful without some pretty advanced image editing functionality. To provide this we have integrated the Aviary image editing service right from the interface.
View more screenshots and information https://cms.kunstmaan.be.
Installation
This bundle is compatible with all Symfony 3.* releases. More information about installing can be found in this line by line walkthrough of installing Symfony and all our bundles, please refer to the Getting Started guide and enjoy the full blown experience.
Symfony 2.2
If you want to use this bundle for a Symfony 2.2 release, use the 2.2 branch.
Audio
If you want to use your own api key for SoundCloud, you can define this in the config.yml of your application but it works fine without it as well.
kunstmaan_media: soundcloud_api_key: YOUR_CLIENT_ID
Tooltips
If you want to add a nifty tooltip to your media chooser in the admin, you can just add the following to your form type:
$builder ->add( 'media', 'media', array( 'pattern' => 'KunstmaanMediaBundle_chooser', 'mediatype' => 'image', 'attr' => array('info_text' => 'YOUR TOOLTIP TEXT'), ) );
Generating PDF preview thumbnails
For this functionality to work, you need to install the ImageMagick extension with PDF support (using Ghostscript). You will also have to make sure that the Ghostscript executable (gs) can be found in the path of the user that is executing the code (apache/www or a custom user depending on your setup).
You can determine that path by running which gs
on the command line in Linux/OS X.
To install Ghostscript on Mac OS X you can use brew install gs
.
On OS X with apache you will probably have to add that path to the apache environment settings in
/System/Library/LaunchDaemons/org.apache.httpd.plist
. Make sure it contains the following :
<key>EnvironmentVariables</key>
<dict>
<key>PATH</key>
<string>/usr/bin:/bin:/usr/sbin:/sbin:/path/to/gs</string>
</dict>
Where /path/to/gs
is just the actual path where the gs binary is stored.
NOTE: This functionality has to be enabled by setting the enable_pdf_preview
configuration option to true, ie. :
kunstmaan_media: enable_pdf_preview: true