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.

Mat Member

@msa · Joined 7 years ago · 37 posts · 11 topics · 4 reputation

Badges

✏️ First Post 💬 Conversation Starter

Recent posts

  • Add image height/width · 6 years ago

    my goal was to add height and width attributes to images. But I initially thought of getting them from the images themselves, using: {{ image.width }} then, I realized that if I add, as you suggested

  • Add image height/width · 6 years ago

    @pamtbaau if you weren't around, I don't know what I would do! but maybe I didn't explain well, I have to get the dimensions, because the images are automatically scaled ... or, can I put the standar

  • Add image height/width · 6 years ago

    Hello! in my twig I have: {% for image in page.media.images %} {{ image.html(page.parent.title, page.title, 'img-full-responsive s-rounded') }} {% endfor %} to get the image height or width, I

  • Sizes with media queries - with OWL Carousel · 6 years ago

    I come back to this isse, because it seems that sometimes the images are not scaled. When I test with gtmetrix, I see this problem: The following images are resized in HTML or CSS. Serving scaled im

  • Multilanguages plugin - Dropdown menu · 6 years ago

    of course, after posting ... i solved: <div class="float-right"> <!-- language navigation --> <section class="navbar-section language-selector"> <div class="dropdown dropdown-righ

  • Multilanguages plugin - Dropdown menu · 6 years ago

    Hello, I have some issue to format the multi-languages plugin. I have copied langswitcher twig template to my template partials folder, added on page template using: {% include 'partials/langswitcher.

  • Sizes with media queries - with OWL Carousel · 6 years ago

    Thanks to very big help from @pamtbaau, now everything works! this is the twig code: <div id="photos" data-aos="fade-up"> <div class="owl-carousel owl-theme"> {% for image in page

  • Sizes with media queries - with OWL Carousel · 6 years ago

    PM message sent with the address, thanks for help!

  • Sizes with media queries - with OWL Carousel · 6 years ago

    the power cable is connected... I tried to re-start my windows 95... but the problems remains... 🤔 cache cleaned... different browser used... also. if use this code: <div> % set image = post.med

  • Sizes with media queries - with OWL Carousel · 6 years ago

    @pamtbaau, if I not add @2x, the derivatives not works.... tested. if I replace <img> <img src="{{ image.url }}" class="img-full-responsive" alt="{{ post.title }}"> with {{ image.deriv