ewww-image-optimizer icon indicating copy to clipboard operation
ewww-image-optimizer copied to clipboard

disable content_width detection on page builder pages

Open nosilver4u opened this issue 4 years ago • 1 comments

If Elementor or another page builder has been used on a page, the content_width global is far less likely to be relevant, so we could likely just fall back to 1920 for those.

nosilver4u avatar Sep 20 '21 19:09 nosilver4u

I'm not sure a global (page wide) override is fantastic, we need to see if there are elements in the page that can be used to detect such a full-width display/layout. Bonus points if we can just apply to those elements.

nosilver4u avatar Oct 09 '21 15:10 nosilver4u

Unfortunately, it isn't possible to differentiate a full-width element/image. So at this point, Easy IO will increase the effective content_width limit to 1920 when a full-width layout is detected.

nosilver4u avatar Apr 06 '23 21:04 nosilver4u