2017 © Pedro Peláez
 

symfony-bundle image-bundle

Symfony bundle for image uploading

image

nkt/image-bundle

Symfony bundle for image uploading

  • Sunday, May 25, 2014
  • by nkt
  • Repository
  • 1 Watchers
  • 0 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Image bundle

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Usage

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

License

MIT, (*7)

The Versions

25/05 2014

dev-master

9999999-dev http://nkt.github.io/image-bundle/

Symfony bundle for image uploading

  Sources   Download

MIT

The Requires

 

by Gusakov Nikita

image media