-
Notifications
You must be signed in to change notification settings - Fork 567
Description
Hi all,
I upgraded from 3.1.1 to 4.2 to begin some local testing since I found out that S3 paths could be followed in 4.2 for Thumbor URLs. I noticed that the supported URL format seems to have changed between the versions. Just wondering if this was something that was planned or a possible oversight or a bug maybe?
These URLs would have worked on 3.1.1. Notice that the filter rules are chained with a ":" colon delimiter.
- https://cloudfront.net/filters:quality(80):blur(11)/path/to/file/cat.jpg
- https://cloudfront.net/fit-in/300x300/filters:rotate(90):convolution(1;2;1;2;4;2;1;2;1,3,false)/path/to/file/cat.jpg
After upgrading to 4.2 using the Cloudformation template the above 2 URLs no longer work. The first URL needs to have an extra "filters:" keyword before the "blur". The documentation does reflect this change. however, if you had a lot of filters in the URL, it would be unnecessarily long since it needs to include the keyword "filters:" for each one. It seems kind of redundant to specify the "filters" keyword for each filter in the URL. The Thumbor documentation also has examples of filter chaining, which leads me to think its a bug or something.
The fixed first URL:
For the second link, the "convolution" filter doesn't appear to work from what I have tried. Not sure if I have the filter wrong, but I am using the same one from the documentation. I can see that its mapped in the Thumbor mapping code, so not sure whats wrong. I can open up a new issue for that if you think its necessary.
Any help would be appreciated! Thanks