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

How to use filters other than 'my_thumb'? #186

Open
rohitten opened this issue Jul 15, 2014 · 2 comments
Open

How to use filters other than 'my_thumb'? #186

rohitten opened this issue Jul 15, 2014 · 2 comments

Comments

@rohitten
Copy link

@avalanche123
The filter 'my_thumb' given in example,which is for type thumbnail works fine, but If I try other filters,they just don't work.(I need the paste filter)

In the doc, there is a line saying 'Currently, this bundles comes with just one built-in filter: thumbnail.'
What does it mean? Do I need to do something different in order to get other filters working? If yes then what is it? Sorry but the documentation is not very clear to me.

@rohitten
Copy link
Author

can you please provide a full working configuration for paste filter, including path of the image which will be pasted on the other image?

@prudko
Copy link

prudko commented Nov 11, 2014

I use paste filter such part of chain filter. It's work for me

avalanche_imagine:
    cache_prefix: media/cache
    filters:
        my_thumb:
            type: chain
            options:
                filters:
                    thumbnail:                                       
                        size:    [220, 220]                          
                        mode:    outbound
                    paste:
                        image:   %kernel.root_dir%/Resources/water-mark.png
                        x:       center
                        y:       bottom

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

2 participants