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

Can't resize if the desired size is < to thumbnail size #710

Closed
marvin-SL opened this issue Feb 17, 2016 · 5 comments
Closed

Can't resize if the desired size is < to thumbnail size #710

marvin-SL opened this issue Feb 17, 2016 · 5 comments

Comments

@marvin-SL
Copy link

Hello,

I tried to resize an image with dynamic filter and it didn't work until i change my thumbnail size.
in my imagine.yml, if my thumbnail size is thumbnail: { size: [200, 200], mode: inset } and i try to do in my php
... array( 'filters' => array( 'background' => array( 'size' => array(120,87) ) )) ...

It doesn't work, and no error message is fired.

It's quite weird that it works for some desired sizes under the thumbnail 's size, and doesnt work for some other sizes :
in imagine.yml thumbnail: { size: [200, 200], mode: inset }

in php

...
array(
        'filters' => array(
                'background' => array(
                    'size' => array(160,80)   <-------- work
                )
            ))
...

...
array(
        'filters' => array(
                'background' => array(
                    'size' => array(150,80)   <-------- doesn't work
                )
            ))
...

version 1.5.2
symfony 2.7.5

@marvin-SL
Copy link
Author

nobody ?

@abhinavkumar940
Copy link

@marvin-SL
Copy link
Author

Thanks but it doens't fix the issue.
I tried `thumbnail: { size: [200, 200], mode: inset, allow_upscale : true }

@JulienItard
Copy link

see #560

@michellesanver
Copy link
Contributor

Closed; See #1015

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