Hi bricks team @thomas and @Matej.
Currently, Bricks provides the Lazy Load Offset option, which is very useful for optimizing image loading.
However, there is no built-in way to automatically set loading="eager"
for above-the-fold images.
Suggested solution:
Add a global toggle in the Performance settings. When this toggle is enabled, any image that falls within the configured Lazy Load Offset should automatically be rendered with loading="eager"
instead of lazy
, ensuring that above-the-fold images load immediately while maintaining lazy loading for the rest of the content.
Benefit:
- Improves LCP (Largest Contentful Paint) score by ensuring key above-the-fold images load immediately.
- Still keeps the performance benefit of lazy loading for other images.
Best regards