Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (26 sloc) 655 Bytes

JQueryImage Field

Crop image

Minimal configuration:

# app/config/config.yml
genemu_form:
    image: ~

Add in your routing.yml

genemu_image:
    resource: "@GenemuFormBundle/Resources/config/routing/image.xml"

Default Usage:

<?php
// ...
public function buildForm(FormBuilder $builder, array $options)
{
    $builder
        // ...
        ->add('image', 'genemu_jqueryimage');
}

Extra

Configuration