dev-master
9999999-dev http://nkt.github.io/image-bundle/Symfony bundle for image uploading
MIT
The Requires
- symfony/symfony ~2.3
- ext-imagick *
- php ~5.3
by Gusakov Nikita
image media
Wallogit.com
2017 © Pedro Peláez
Symfony bundle for image uploading
Add "nkt/image-bundle": "1.0.x-dev" into composer.json., (*2)
Add Nkt\ImageBundle\NktImageBundle into your kernel bundles., (*3)
Add configuration into app/config/config.yml:, (*4)
nkt_image:
upload_dir: %kernel.root_dir%/uploads # Value by default
types:
logo:
extension: jpg
min_width: 100
max_width: 1000
min_height: 100
max_height: 1000
slider:
min_width: 500
Import routing in your app/config/routing.yml:, (*5)
nkt_image:
resource: "@NktImageBundle/Resources/config/routing.yml"
prefix: /
Then clear your application cache, and update database schema., (*6)
app/console cache:clear app/console doctrine:schema:update --force
MIT, (*7)
Symfony bundle for image uploading
MIT
image media