-
-
Notifications
You must be signed in to change notification settings - Fork 508
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
Improve Image Guide #1925
Improve Image Guide #1925
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1925 +/- ##
=========================================
Coverage 95.04% 95.04%
Complexity 1556 1556
=========================================
Files 48 48
Lines 3672 3672
=========================================
Hits 3490 3490
Misses 182 182 Continue to review full report at Codecov.
|
@gchtr thanks for those adds! I cleaned-up a few details and also tried to elaborate on the CDN limitations. In what I've used before (WPEngine, Pantheon) those filters have all worked 👌. My guess is that plugins/methods that rely on WP "knowing" about the generated images will fail; while ones that are merely watching for new/changed files should work. Any hosts/setups you've found that work for those? |
@jarednova Well, I’ve never worked with CDNs and Timber images before, so I really can’t tell 🤷♂️. I added some changes to update the text so that it basically says: «It works with some CDN plugins of a certain type, but not with all.» |
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.
Your breakdown of the CDNs is much clearer than mine. I just fixed one other small thing. Good to go!
@gchtr as I made the same mistake with review as in #1795 (sorry) I want you to consider one more thing: I would add here a word or two about Pull Zone CDNs. Timber should work flawlessly with all of the them. There is a nice definition on cdn.net:
What do you think about this? |
Ticket: #429, #404 and #1672
Issue
There have been requests to better document the limitations with Timber’s image functions.
Solution
Let’s try to list the limitations in the image guide.
resize()
. But then, it wouldn’t work withletterbox()
,tojpg()
andtowebp()
either, right? Here’s where I’m not entirely sure.Impact
None.
Usage Changes
None.
Considerations
Improving Timber’s overall image experience will eventually make these updates useless. Hopefully.
Testing
None.