Image generation rewrite: back to basics #403
The image generation code stems from an early release, 2.0.5, and was improved further in 2.5.0. Over time, I've combobulated integration for Open Graph image dimensions, AJAX uploading, WooCommerce gallery support, and more. This lead to an inconsistent system that's all over the place; some might call it spaghetti code, and they'd be right.
This is what we're going to do:
I'm a user, what can I expect?
Fewer (goal: zero) bugs, faster operation, and more features!
I'm a developer, what can I expect?
I'll deprecate all related methods and make all attached filters inoperable under normal conditions.
A full list API of changes will follow.
In 3.5 or 3.6 I'll remove the deprecated code. You don't have to worry about updating: Your site won't crash when calling undefined methods, because the factory (
referenced this issue
Jan 11, 2019
I'm not sure if this is included yet, but I've come across an issue when using an og:image on a CDN. The upload URL is prepended to the image's full URL.
I believe this is related to the resizing process found in