Jetpack's "Image CDN" doen't work with "Beans"


Currently I've installed Jetpack's "Image CDN" module on my site. Unfortunately it doesn't work with beans.

When using any other theme whereas a image suppose is delivered from cdn like this

https://i0.wp.com/mysite.com/wp-content/uploads/2017/12/2-min.jpg?w=1200

But if I enable Beans, the image is delivered like this

http://mysite.com/wp-content/uploads/beans/images/1-min-8b38574.jpg

That means CDN is not working with Beans !!! Can anybody explain, what to do to fix it?


I got the solution from @Thierry Muller himself <3 🙂 ... Works like a charm

// Let WordPress handle the image sizes.
add_filter( 'beans_post_image_edit', '__return_false' );

Write a reply

Login or register to write a reply, it's free!