Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

image (single and multi) does not work #6

Open
tulanowski opened this issue Aug 1, 2014 · 3 comments
Open

image (single and multi) does not work #6

tulanowski opened this issue Aug 1, 2014 · 3 comments

Comments

@tulanowski
Copy link

After last refactoring I get this error:

Some of the configs "["minWidth","minHeight","extensions","identifier"]" are missing

but event if I add 'indentifier' I get:

Undefined index: filter in .../vendor/thrace-project/media-bundle/Thrace/MediaBundle/Form/Type/ImageUploadType.php line 169

BTW: why do change storage (from session to container parameters) for configs?

@rafaeladel
Copy link

You'll have to enter filter config parameter in configs inside your form type. Although I don't know what is identifier nor filter. Documentation is pretty useless in this point.

@jeremygachet
Copy link

The filter is the one setted for your liip_imagine.
But I cannot find what I need to do with the identifier parameter.
I tried to pass almost everthing but i'm not able to make it work.

@henrypenny
Copy link

Try adding something like this to your parameters.yml file:

parameters:

....

    plupload_options:
        max_upload_size: 4000000
        extensions: 'jpeg,jpg'
        minWidth: 10
        minHeight: 10

Then use plupload_options as the identifier parameter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants