-
Notifications
You must be signed in to change notification settings - Fork 379
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
added support for many filter transformations in one filter set (style), fixes GH-1 #11
Conversation
As you renamed the |
I am not sure. Having similar code base will allow others to easily migrate to LiipImagineBundle. If this should be done, it could also be merged via separate PR to keep this PR manageable. @lsmith77 what do you think? |
Switching from avalanche to liip will involve many changes anyway (config |
yeah .. i don't think we should break compat for the hell of it .. but things seem to be diverging pretty quick .. |
btw .. at the latest i will dive into all your discussions and proposals over the weekend .. but was at a conference the past two days and now i have to get a bit of paid work done :) |
i havent tested this feature yet. i am not quite sold on the term "styles". |
I don't think 'styles' is the better word for this. We should stick to 'filters' or maybe 'filter_sets' to give a hint that many imageine filters will be applied. Of cource we rename the twig filter to 'apply_filter_set'. |
Can we agree on something regarding the filter name? Just Should this be processed in this PR? I think this could be a separate change. Any other changes are required to merge this? |
like i said .. i am not yet convinced that it makes sense to use the term finally, i haven't tested it out. and ideally i would actually like to start asking for unit tests for all new features. then again i don't want to drop that on you as the first one. if you feel you have the time and skill to create tests, it would be very good. |
ooops .. sorry for those .. thx for the PR and i fixed the other issue |
``` | ||
|
||
You've now defined a filter called `my_thumb` that performs a thumbnail transformation. | ||
You've now defined a style called `my_thumb` that performs a thumbnail transformation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this change needs to be reverted to the old terminology
ok reviewed the PR .. only a few minor issues left. as for tests ... it would be awesome if you could provide a unit test for the filter manager, but i will merge it even without. but like i said .. its important that we expand the unit tests before we have too many features and end up breaking stuff left and right. |
Fixed & squashed into one commit. |
added support for many filter transformations in one filter set (style), fixes GH-1
Does this watermark filter the example shows actually exist somewhere? ... or is it just an example of future possibilities? |
future possibilities. if the filter is in imagine .. it should be trivial to add it though |
Now the following is possible:
fixes GH-1