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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Gerard Roos Newcomer

@webfed · Joined 9 years ago · 3 posts · 0 topics · 0 reputation

Badges

✏️ First Post

Recent posts

  • Responsive images in twig · 8 years ago

    This works for me, user can add an image, first image will be displayed. <div class="hero"> {{ page.media.images|first.derivatives(320, 2000, 200).sizes('(max-width:26em) 100vw, 100vw').html

  • How to set Cache-Control for images? · 8 years ago

    In my system.yaml there is a section for this: images: default_image_quality: 85 cache_all: true cache_perms: '0755' debug: true auto_fix_orientation: true Is it in yours?

  • Changing Site URL on Apache · 9 years ago

    Hi, wouldn’t the Solution be to put the files in public_html? Or do you have a reason to place them in a separate directory?