Skip to content
Grav 2.0 is officially stable. Read the announcement →

Michae Newcomer

@pilot23 · Joined 4 years ago · 4 posts · 1 topics · 1 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • How to set lazy loading in Twig template · 4 years ago

    @pmoreno Thanks for your assist, i have tried the code but no effect on lazy load. Now i have limited the images to 50 with {% for image in page.media.images|sort|reverse|slice(0,50) %} This is not ex

  • How to set lazy loading in Twig template · 4 years ago

    Thanks for your time and assist @pamtbaau I have change the code as you written to: {% extends 'partials/base.html.twig' %} {% block content %} {{ page.content|raw }} <ul> {% for

  • How to set lazy loading in Twig template · 4 years ago

    Hello @pamtbaau, sorry for shure you are right. I have tried adding the "lazy load" tags on different ways. I'm using the quark theme, therefor i have add it on: /user/themes/quark/templates/gallery.h

  • How to set lazy loading in Twig template · 4 years ago

    Hello, i want to try loading images with 'lazy' in my twig template. In my gallery.html.twig i have the following code: {% extends 'partials/base.html.twig' %} {% block content %} {{ page.content